Skip to content

Instantly share code, notes, and snippets.

@cheezedigital
Last active August 29, 2015 14:13
Show Gist options
  • Save cheezedigital/b4a88d7a7984be20765a to your computer and use it in GitHub Desktop.
Save cheezedigital/b4a88d7a7984be20765a to your computer and use it in GitHub Desktop.
holler at yer boy
I'm looking to do small testing on a sinatra app I've been building.
https://github.com/cheezedigital/itempiece6
I'd like the test to be small, though I'd like to test every page in the application.
like,
test "should get about" do
get :about
assert_response :success
assert_select "title", "About | learnmesomecodes bye felicia"
end
while I understand what is exactly happening, I don't know which gem to include in the Gemfile, and how to set up the directory/file structure.
if one could shed some lite, I'd appreciate it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment