Skip to content
Browse files

New scenario for invalid message

  • Loading branch information...
1 parent 0b32273 commit 3df5c5eab4fb0a4b9f93f56392e77c83ba014158 @ludo committed Jul 25, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 features/post_message.feature
View
7 features/post_message.feature
@@ -8,3 +8,10 @@ Feature: Post message
When I enter a valid message
And I post the message
Then I should see my newly created message
+
+ Scenario: Post an invalid message
+ Given I view the new message form
+ When I enter an invalid message
+ And I post the message
+ Then I should stay on the new message form
+ And I should see an error

0 comments on commit 3df5c5e

Please sign in to comment.
Something went wrong with that request. Please try again.