Skip to content

Instantly share code, notes, and snippets.

@robb1e
Created July 1, 2013 12:07
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 robb1e/5900278 to your computer and use it in GitHub Desktop.
Save robb1e/5900278 to your computer and use it in GitHub Desktop.
feature "share documents" do
specify do
Given "Mary is signed in"
...
When "Joe is signed in"
...
end
let(:mary) { "Mary" }
let(:joe) { "Joe" }
def mary_is_signed_in
login_as(mary)
end
def joe_is_signed_in
login_as(joe)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment