Skip to content

Instantly share code, notes, and snippets.

@queso
Created January 6, 2010 19:12
Show Gist options
  • Save queso/270540 to your computer and use it in GitHub Desktop.
Save queso/270540 to your computer and use it in GitHub Desktop.
it "PUT #update should use a saving" do
saving = Factory.create(:saving)
put :update, :id => saving.id
response.should redirect_to(:savings_url)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment