No should in specs

This commit is contained in:
Micha Wrobel 2012-03-04 12:06:03 +01:00
parent e7f5f57424
commit 293e67ed86

View File

@ -14,7 +14,7 @@ describe Comment do
comment.user = user
end
it "should include user comment creator properties user" do
it "includes user comment creator properties user" do
hash = comment.as_json
hash.should include(:user)
hash[:user].should include("nickname")