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