diff options
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 |