Skip to content

Commit

Permalink
Test that table steps work without a trailing colon
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaclayton committed Mar 9, 2012
1 parent d4b8cac commit 48afe24
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions features/factory_girl_steps.feature
Expand Up @@ -8,6 +8,14 @@ Feature: Use step definitions generated by factories
| title | body |
| a fun title | here is the content |

Scenario: create a post and verify its attributes without the trailing colon
Given the following post exists
| Title | Body |
| a fun title | here is the content |
Then I should find the following for the last post:
| title | body |
| a fun title | here is the content |

Scenario: create a post without a table and verify its attributes
Given a post exists with a title of "a fun title"
Then I should find the following for the last post:
Expand Down

0 comments on commit 48afe24

Please sign in to comment.