Created
September 12, 2009 21:03
-
-
Save foca/185983 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
story <<-STORY do | |
As a developer, | |
I want to use the simplest tool for the job, | |
So that I don't waste time learning useless grammars | |
STORY | |
scenario "sweet and simple" do | |
# given | |
User.make(:name => "john") | |
# when | |
visit "/" | |
click_link "login" | |
# then | |
assert_select "h1", "Log in" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment