Skip to content

Instantly share code, notes, and snippets.

@clayton
Created April 14, 2011 18:21
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 clayton/920123 to your computer and use it in GitHub Desktop.
Save clayton/920123 to your computer and use it in GitHub Desktop.
Supporting gist for
# https://github.com/thoughtbot/capybara-webkit/issues/14
feature "My Feature", "Description", :js => true do
background do
# some setup
visit my_starting_path
end
context "Story Name" do
context "When I follow path A" do
context "With only one assertion" do
it "works as expected"
end
context "With more than one assertion" do
it "fails"
it "doesn't work"
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment