Skip to content

Instantly share code, notes, and snippets.

@ludicast
Created August 30, 2010 05:55
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 ludicast/557073 to your computer and use it in GitHub Desktop.
Save ludicast/557073 to your computer and use it in GitHub Desktop.
context "when a user exists" do
before { @user = Factory :user }
context "when I visit the page for editing that user" do
before { visit "/users/#{@user.id}/edit" }
it {should let_me_edit_the_user}
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment