Created
December 7, 2010 18:55
-
-
Save lukesh/732214 to your computer and use it in GitHub Desktop.
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
When 'I create a new comment' do | |
steps %Q{ | |
When I enter comment text | |
And I press "Add Comment" | |
} | |
end | |
When 'I enter comment text' do | |
@comment = Factory :comment, :section => @section, :user => @me | |
steps %Q{ | |
When I fill in "Comment" with #{ @comment[:body].inspect } | |
} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment