aboutsummaryrefslogtreecommitdiffstats
path: root/features/support/step_definitions
diff options
context:
space:
mode:
Diffstat (limited to 'features/support/step_definitions')
-rw-r--r--features/support/step_definitions/tags_steps.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/support/step_definitions/tags_steps.rb b/features/support/step_definitions/tags_steps.rb
index 8280474..d16f758 100644
--- a/features/support/step_definitions/tags_steps.rb
+++ b/features/support/step_definitions/tags_steps.rb
@@ -4,10 +4,10 @@ end
When /^I visit the tagged posts page for "([^"]*)"$/ do |tag_name|
@blog_post ||= Factory.create(:blog_post, :tag_list => tag_name)
- tag = BlogPost.tag_counts_on(:tags).first
+ tag = ::Refinery::BlogPost.tag_counts_on(:tags).first
visit tagged_posts_path(tag.id, tag_name.parameterize)
end
Then /^the blog post should have the tags "([^"]*)"$/ do |tag_list|
- BlogPost.last.tag_list == tag_list.split(', ')
+ ::Refinery::BlogPost.last.tag_list == tag_list.split(', ')
end