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:
parent
b32e87c929
commit
d87389b38e
8 changed files with 15 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue