Skip to content

Instantly share code, notes, and snippets.

@tobias
Created December 18, 2008 14:35
Show Gist options
  • Save tobias/37512 to your computer and use it in GitHub Desktop.
Save tobias/37512 to your computer and use it in GitHub Desktop.
def test_index
get_it '/'
assert_match /Unwind It/, @response.body
end
def test_unwind_with_blank_url
post_it '/unwind', :url => ''
assert_match /Please enter/, @response.body
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment