aboutsummaryrefslogtreecommitdiffstats
path: root/features
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2011-07-27 21:22:19 +0300
committerUģis Ozols <ugis.ozolss@gmail.com>2011-07-27 21:22:19 +0300
commitb5646a35c9acbe188fc4cc25a8eca9e7eb465250 (patch)
treeac1a12a3567f8d8856604cbd1a11f229d105b913 /features
parent06071e558008477e1b8dbb376d6693af97eeff32 (diff)
downloadrefinerycms-blog-b5646a35c9acbe188fc4cc25a8eca9e7eb465250.tar.gz
refinerycms-blog-b5646a35c9acbe188fc4cc25a8eca9e7eb465250.tar.bz2
refinerycms-blog-b5646a35c9acbe188fc4cc25a8eca9e7eb465250.zip
Cucumber author steps now pass.
Diffstat (limited to 'features')
-rw-r--r--features/support/step_definitions/authors_steps.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/support/step_definitions/authors_steps.rb b/features/support/step_definitions/authors_steps.rb
index d78ca90..eaa5f32 100644
--- a/features/support/step_definitions/authors_steps.rb
+++ b/features/support/step_definitions/authors_steps.rb
@@ -1,7 +1,7 @@
Then /^there should be (\d+) blog posts?$/ do |num|
- BlogPost.all.size == num
+ ::Refinery::BlogPost.all.size == num
end
Then /^the blog post should belong to me$/ do
- BlogPost.first.author.login == User.last.login
+ ::Refinery::BlogPost.first.author.login == ::Refinery::User.last.login
end \ No newline at end of file