No should in specs
This commit is contained in:
parent
e7f5f57424
commit
293e67ed86
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user