diff options
Diffstat (limited to 'features/step_definitions')
-rw-r--r-- | features/step_definitions/category_steps.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/features/step_definitions/category_steps.rb b/features/step_definitions/category_steps.rb deleted file mode 100644 index 3c197e2..0000000 --- a/features/step_definitions/category_steps.rb +++ /dev/null @@ -1,11 +0,0 @@ -Given /^there is a category titled "([^"]*)"$/ do |title| - @category = Factory.create(:blog_category, :title => title) -end - -Then /^the blog post should have ([\d]*) categor[yies]{1,3}$/ do |num_category| - ::Refinery::BlogPost.last.categories.count.should == num_category.to_i -end - -Then /^the blog post should have the category "([^"]*)"$/ do |category| - ::Refinery::BlogPost.last.categories.first.title.should == category -end |