Skip to content

Instantly share code, notes, and snippets.

@markiz
Created June 29, 2010 21:11
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 markiz/457825 to your computer and use it in GitHub Desktop.
Save markiz/457825 to your computer and use it in GitHub Desktop.
describe MyController, "GET index" do
let(:cookie_value) { "of course" }
it "should delete the cookie" do
request.cookies[:awesome] = cookie_value
get :index
cookies[:awesome].should == cookie_value
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment