DEV: Use describe for methods in specs

This commit is contained in:
Loïc Guitaut
2022-07-27 12:21:10 +02:00
committed by Loïc Guitaut
parent f1c3670d74
commit 296aad430a
69 changed files with 214 additions and 214 deletions

View File

@ -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"