Skip to content

Instantly share code, notes, and snippets.

@revelation
Created August 24, 2009 18:05
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 revelation/174013 to your computer and use it in GitHub Desktop.
Save revelation/174013 to your computer and use it in GitHub Desktop.
it "should delete the key for the updated response" do
ResponsesSweeper.with_observers(:responses_sweeper) do
lambda do
post :update, update_params
end.should delete_cache_path("views/test.host/#{@project.site}/responses/#{@my_response.id}")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment