Created
July 5, 2011 09:07
-
-
Save vysogot/1064523 to your computer and use it in GitHub Desktop.
example test user story
This file contains 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
require File.expand_path(File.dirname(__FILE__) + "/../test_helper") | |
include Test::Unit::UserStory | |
story "Create the thing", %{ | |
As a user | |
I want to create something | |
In order to show something | |
} do | |
criteria "without js when logged in" do | |
it "does something" | |
end | |
criteria "when logged in", :js => true do | |
background do | |
login_as(:me) | |
end | |
it "should be easy to create" | |
it "should be able to create something" do | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment