Created
August 24, 2009 18:05
-
-
Save revelation/174013 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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