Enforce RSpec expect(..).not_to over to_not

This commit is contained in:
Maikel Linke
2024-03-07 16:57:54 +11:00
parent b4385623b2
commit bd6b0ddbf3
163 changed files with 616 additions and 613 deletions

View File

@@ -43,7 +43,7 @@ describe '/user/spree_user/auth/openid_connect/callback', type: :request do
end
it 'fails with bad auth data' do
expect { request! }.to_not change { OidcAccount.count }
expect { request! }.not_to change { OidcAccount.count }
expect(response.status).to eq(302)
end