diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-07-27 21:22:19 +0300 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-07-27 21:22:19 +0300 |
commit | b5646a35c9acbe188fc4cc25a8eca9e7eb465250 (patch) | |
tree | ac1a12a3567f8d8856604cbd1a11f229d105b913 /features | |
parent | 06071e558008477e1b8dbb376d6693af97eeff32 (diff) | |
download | refinerycms-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.rb | 4 |
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 |