mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 06:48:18 +08:00
DEV: Use describe
for methods in specs
This commit is contained in:

committed by
Loïc Guitaut

parent
f1c3670d74
commit
296aad430a
@ -260,7 +260,7 @@ RSpec.describe Admin::GroupsController do
|
||||
end
|
||||
end
|
||||
|
||||
context "#destroy" do
|
||||
describe "#destroy" do
|
||||
it 'should return the right response for an invalid group_id' do
|
||||
max_id = Group.maximum(:id).to_i
|
||||
delete "/admin/groups/#{max_id + 1}.json"
|
||||
|
Reference in New Issue
Block a user