Skip to content

Instantly share code, notes, and snippets.

@MrJaba
Created July 27, 2010 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MrJaba/492284 to your computer and use it in GitHub Desktop.
Save MrJaba/492284 to your computer and use it in GitHub Desktop.
context "Context name" do
setup do
#init stuff here
end
should "test name/behaviour" do
get :blah, :param_1 => 'a', :param_2 => 'b'
puts @response.body
assert_select "blah"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment