summaryrefslogtreecommitdiff
path: root/spec/features/u2f_spec.rb
diff options
context:
space:
mode:
authorJacopo <beschi.jacopo@gmail.com>2017-04-21 22:32:02 +0200
committerJacopo <beschi.jacopo@gmail.com>2017-04-21 22:32:02 +0200
commitff76adb5476f663fe92cec0ec4a78e93c7615191 (patch)
tree7d850174c9abeaf2d2c34e099cca6194570a55a6 /spec/features/u2f_spec.rb
parentd58350166d267d9923d39e783600fcd95eb4cd64 (diff)
downloadgitlab-ce-ff76adb5476f663fe92cec0ec4a78e93c7615191.tar.gz
Unnecessary "include WaitForAjax" and "include ApiHelpers"
Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs. Removed unnecessary usage of `api:true`
Diffstat (limited to 'spec/features/u2f_spec.rb')
-rw-r--r--spec/features/u2f_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/features/u2f_spec.rb b/spec/features/u2f_spec.rb
index c877cfdd978..544d2dcb87f 100644
--- a/spec/features/u2f_spec.rb
+++ b/spec/features/u2f_spec.rb
@@ -1,8 +1,6 @@
require 'spec_helper'
feature 'Using U2F (Universal 2nd Factor) Devices for Authentication', :js do
- include WaitForAjax
-
before { allow_any_instance_of(U2fHelper).to receive(:inject_u2f_api?).and_return(true) }
def manage_two_factor_authentication