aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--features/support/step_definitions/category_steps.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/features/support/step_definitions/category_steps.rb b/features/support/step_definitions/category_steps.rb
index 891b5c0..3c197e2 100644
--- a/features/support/step_definitions/category_steps.rb
+++ b/features/support/step_definitions/category_steps.rb
@@ -3,9 +3,9 @@ Given /^there is a category titled "([^"]*)"$/ do |title|
end
Then /^the blog post should have ([\d]*) categor[yies]{1,3}$/ do |num_category|
- BlogPost.last.categories.count.should == num_category.to_i
+ ::Refinery::BlogPost.last.categories.count.should == num_category.to_i
end
Then /^the blog post should have the category "([^"]*)"$/ do |category|
- BlogPost.last.categories.first.title.should == category
-end \ No newline at end of file
+ ::Refinery::BlogPost.last.categories.first.title.should == category
+end