mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 06:51:27 +08:00
No more rails 4 deprecation warnings
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user