Skip to content

Instantly share code, notes, and snippets.

@sumitasok
Created April 27, 2012 06:55
Show Gist options
  • Save sumitasok/2506725 to your computer and use it in GitHub Desktop.
Save sumitasok/2506725 to your computer and use it in GitHub Desktop.
Rspec Expectations
# to get the Location from the response header.
response.header["Location"].should eq('/admin/clients/'+client.id+'/edit')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment