chore: Update dependencies to the latest versions (#5033)
This commit is contained in:
@@ -55,7 +55,7 @@ RSpec.describe 'Label API', type: :request do
|
||||
|
||||
context 'when it is an unauthenticated user' do
|
||||
it 'returns unauthorized' do
|
||||
expect { post "/api/v1/accounts/#{account.id}/labels", params: valid_params }.to change(Label, :count).by(0)
|
||||
expect { post "/api/v1/accounts/#{account.id}/labels", params: valid_params }.not_to change(Label, :count)
|
||||
|
||||
expect(response).to have_http_status(:unauthorized)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user