Created
March 17, 2011 05:48
-
-
Save bowsersenior/873895 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
require 'acceptance/acceptance_helper' | |
feature "Articles", %q{ | |
In order to have an awesome blog | |
As an author | |
I want to create and manage articles | |
} do | |
background do | |
Article.create!(:title => 'One') | |
Article.create!(:title => 'Two') | |
end | |
scenario "Article index" do | |
visit '/articles' | |
page.should have_content('One') | |
page.should have_content('Two') | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment