diff options
author | Jacopo <beschi.jacopo@gmail.com> | 2017-04-21 23:32:02 +0300 |
---|---|---|
committer | Jacopo <beschi.jacopo@gmail.com> | 2017-04-21 23:32:02 +0300 |
commit | ff76adb5476f663fe92cec0ec4a78e93c7615191 (patch) | |
tree | 7d850174c9abeaf2d2c34e099cca6194570a55a6 /spec/features/users | |
parent | d58350166d267d9923d39e783600fcd95eb4cd64 (diff) |
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/users')
-rw-r--r-- | spec/features/users/projects_spec.rb | 2 | ||||
-rw-r--r-- | spec/features/users/snippets_spec.rb | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/spec/features/users/projects_spec.rb b/spec/features/users/projects_spec.rb index 1d75fe434b0..373b64808f8 100644 --- a/spec/features/users/projects_spec.rb +++ b/spec/features/users/projects_spec.rb @@ -1,8 +1,6 @@ require 'spec_helper' describe 'Projects tab on a user profile', :feature, :js do - include WaitForAjax - let(:user) { create(:user) } let!(:project) { create(:empty_project, namespace: user.namespace) } let!(:project2) { create(:empty_project, namespace: user.namespace) } diff --git a/spec/features/users/snippets_spec.rb b/spec/features/users/snippets_spec.rb index ce7e809ec76..1546a06b80c 100644 --- a/spec/features/users/snippets_spec.rb +++ b/spec/features/users/snippets_spec.rb @@ -1,8 +1,6 @@ require 'spec_helper' describe 'Snippets tab on a user profile', feature: true, js: true do - include WaitForAjax - context 'when the user has snippets' do let(:user) { create(:user) } let!(:snippets) { create_list(:snippet, 2, :public, author: user) } |