diff options
author | Rémy Coutable <remy@rymai.me> | 2017-10-09 12:23:26 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-10-09 12:23:26 +0000 |
commit | 781d2c22f411f492845f42b15863f4a0a5a5eaa6 (patch) | |
tree | 6a39b98a8bcb6680d47f85708bf075326dcbec2c /spec/features/login_spec.rb | |
parent | 1c0407e84cc2ccdafd141ed1ad9a853db07d17b3 (diff) | |
parent | 0ce6785851510ccb49f0d1edc0220aca46f815f5 (diff) | |
download | gitlab-ce-781d2c22f411f492845f42b15863f4a0a5a5eaa6.tar.gz |
Merge branch '37552-replace-js-true-with-js' into 'master'
Replaces `tag: true` into `:tag` in the specs
Closes #37552
See merge request gitlab-org/gitlab-ce!14653
Diffstat (limited to 'spec/features/login_spec.rb')
-rw-r--r-- | spec/features/login_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/login_spec.rb b/spec/features/login_spec.rb index c9983f0941f..6dfabcc7225 100644 --- a/spec/features/login_spec.rb +++ b/spec/features/login_spec.rb @@ -197,7 +197,7 @@ feature 'Login' do expect(page).to have_content('The global settings require you to enable Two-Factor Authentication for your account. You need to do this before ') end - it 'allows skipping two-factor configuration', js: true do + it 'allows skipping two-factor configuration', :js do expect(current_path).to eq profile_two_factor_auth_path click_link 'Configure it later' @@ -215,7 +215,7 @@ feature 'Login' do ) end - it 'disallows skipping two-factor configuration', js: true do + it 'disallows skipping two-factor configuration', :js do expect(current_path).to eq profile_two_factor_auth_path expect(page).not_to have_link('Configure it later') end @@ -260,7 +260,7 @@ feature 'Login' do 'before ') end - it 'allows skipping two-factor configuration', js: true do + it 'allows skipping two-factor configuration', :js do expect(current_path).to eq profile_two_factor_auth_path click_link 'Configure it later' @@ -279,7 +279,7 @@ feature 'Login' do ) end - it 'disallows skipping two-factor configuration', js: true do + it 'disallows skipping two-factor configuration', :js do expect(current_path).to eq profile_two_factor_auth_path expect(page).not_to have_link('Configure it later') end |