diff options
Diffstat (limited to 'features/support/step_definitions')
-rw-r--r-- | features/support/step_definitions/tags_steps.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/features/support/step_definitions/tags_steps.rb b/features/support/step_definitions/tags_steps.rb new file mode 100644 index 0000000..00e8a3e --- /dev/null +++ b/features/support/step_definitions/tags_steps.rb @@ -0,0 +1,3 @@ +Then /^the blog post should have the tags "([^"]*)"$/ do |tag_list| + BlogPost.last.tag_list == tag_list.split(', ') +end |