Autofix Rubocop RSpec/ExampleWording (#23667)
This commit is contained in:
parent
7a3d4c3d4b
commit
c0a645f647
4 changed files with 10 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue