aboutsummaryrefslogblamecommitdiffstats
path: root/features/support/step_definitions/authors_steps.rb
blob: d78ca90ee52aa95169f714b980c97a6cef38126b (plain) (tree)
1
2
3
4
5
6
7



                                                   
                                             
                                                
  
Then /^there should be (\d+) blog posts?$/ do |num|
  BlogPost.all.size == num
end

Then /^the blog post should belong to me$/ do
  BlogPost.first.author.login == User.last.login
end