2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

No more rails 4 deprecation warnings

This commit is contained in:
Navin Keswani 2013-08-25 23:18:11 +02:00
parent b32e87c929
commit d87389b38e
8 changed files with 15 additions and 14 deletions

View file

@ -72,7 +72,7 @@ describe Admin::GroupsController do
usernames: usernames,
name: " bob "
}
}.should_not raise_error(ActiveRecord::RecordInvalid)
}.should_not raise_error()
Group.where(name: "bob").count.should == 1
end
end