aboutsummaryrefslogtreecommitdiffstats
path: root/features/support/step_definitions/tags_steps.rb
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2011-06-21 23:09:18 -0500
committerJoe Sak <joe@joesak.com>2011-06-21 23:09:18 -0500
commit39a5167c20e82f41b32de1814227a4fec42428d6 (patch)
tree36dadbc0c92c214b2732d7501ea8f3e752dd7c40 /features/support/step_definitions/tags_steps.rb
parent074f8cf67b96e69528c46de1449dc5f4a6ef473a (diff)
downloadrefinerycms-blog-39a5167c20e82f41b32de1814227a4fec42428d6.tar.gz
refinerycms-blog-39a5167c20e82f41b32de1814227a4fec42428d6.tar.bz2
refinerycms-blog-39a5167c20e82f41b32de1814227a4fec42428d6.zip
tag url strategy updated
Diffstat (limited to 'features/support/step_definitions/tags_steps.rb')
-rw-r--r--features/support/step_definitions/tags_steps.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/support/step_definitions/tags_steps.rb b/features/support/step_definitions/tags_steps.rb
index 5d4dced..a99b5d6 100644
--- a/features/support/step_definitions/tags_steps.rb
+++ b/features/support/step_definitions/tags_steps.rb
@@ -3,7 +3,7 @@ Given /^there is a blog post titled "([^"]*)" and tagged "([^"]*)"$/ do |title,
end
When /^I visit the tagged posts page for "([^"]*)"$/ do |tag_name|
- visit tagged_posts_path(tag_name.parameterize)
+ visit tagged_posts_path(tag.id, tag_name.parameterize)
end
Then /^the blog post should have the tags "([^"]*)"$/ do |tag_list|