diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-04-04 21:06:32 +0300 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-04-06 22:58:57 +0300 |
commit | 7592137f218a1a5ef0a8031846cc93ecf185dd9f (patch) | |
tree | 257e3739708f4e3996bfca07f0fbd70edd2de606 /spec/features/admin | |
parent | 0e325ea6ee625ad24709dd1118e36803bbaa222e (diff) |
Fix rspec and spinach tests
Diffstat (limited to 'spec/features/admin')
-rw-r--r-- | spec/features/admin/admin_users_impersonation_tokens_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/admin/admin_users_impersonation_tokens_spec.rb b/spec/features/admin/admin_users_impersonation_tokens_spec.rb index ff23d486355..0fb4baeb71c 100644 --- a/spec/features/admin/admin_users_impersonation_tokens_spec.rb +++ b/spec/features/admin/admin_users_impersonation_tokens_spec.rb @@ -30,7 +30,7 @@ describe 'Admin > Users > Impersonation Tokens', feature: true, js: true do check "api" check "read_user" - expect { click_on "Create Impersonation Token" }.to change { PersonalAccessTokensFinder.new(impersonation: true).execute.count } + expect { click_on "Create impersonation token" }.to change { PersonalAccessTokensFinder.new(impersonation: true).execute.count } expect(active_impersonation_tokens).to have_text(name) expect(active_impersonation_tokens).to have_text('In') expect(active_impersonation_tokens).to have_text('api') |