diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-17 21:26:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-18 03:26:20 +0100 |
commit | c0a645f6474749fede8371c4dd778fbc22e3c797 (patch) | |
tree | a7da903f5a91cf77a2639168301abe49dab27dc6 /spec/controllers/settings | |
parent | 7a3d4c3d4b2efa2df3f6238b7c9da240c29c8c54 (diff) |
Autofix Rubocop RSpec/ExampleWording (#23667)
Diffstat (limited to 'spec/controllers/settings')
-rw-r--r-- | spec/controllers/settings/applications_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/settings/applications_controller_spec.rb b/spec/controllers/settings/applications_controller_spec.rb index 9074574e4..b79a38ea1 100644 --- a/spec/controllers/settings/applications_controller_spec.rb +++ b/spec/controllers/settings/applications_controller_spec.rb @@ -37,7 +37,7 @@ describe Settings::ApplicationsController do end describe 'GET #new' do - it 'works' do + it 'returns http success' do get :new expect(response).to have_http_status(200) end @@ -180,7 +180,7 @@ describe Settings::ApplicationsController do post :regenerate, params: { id: app.id } end - it 'should create new token' do + it 'creates new token' do expect(user.token_for_app(app)).to_not eql(token) end end |