6a3cf5d
b5646a3
be7763d
1
2
3 4
5
6
7
Then /^there should be (\d+) blog posts?$/ do |num| ::Refinery::BlogPost.all.size == num end Then /^the blog post should belong to me$/ do ::Refinery::BlogPost.first.author.login == ::Refinery::User.last.login end