diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-11-02 18:26:09 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-11-02 18:26:27 +0300 |
commit | 61865cfc935d760374c5bf6f8c538b3282b91e8b (patch) | |
tree | f1195d4281f06a7d79b53c495deb6be5a2950013 /spec/features/projects/tree | |
parent | 787ef979ade8f5f9a605f045daa84a4380910067 (diff) |
add CookieHelper and InputHelper automatically to :js tests
Diffstat (limited to 'spec/features/projects/tree')
-rw-r--r-- | spec/features/projects/tree/create_directory_spec.rb | 3 | ||||
-rw-r--r-- | spec/features/projects/tree/create_file_spec.rb | 3 | ||||
-rw-r--r-- | spec/features/projects/tree/upload_file_spec.rb | 3 |
3 files changed, 0 insertions, 9 deletions
diff --git a/spec/features/projects/tree/create_directory_spec.rb b/spec/features/projects/tree/create_directory_spec.rb index 174d4cb4e08..8ee7b9cf015 100644 --- a/spec/features/projects/tree/create_directory_spec.rb +++ b/spec/features/projects/tree/create_directory_spec.rb @@ -1,9 +1,6 @@ require 'spec_helper' feature 'Multi-file editor new directory', :js do - include CookieHelper - include WaitForRequests - let(:user) { create(:user) } let(:project) { create(:project, :repository) } diff --git a/spec/features/projects/tree/create_file_spec.rb b/spec/features/projects/tree/create_file_spec.rb index 7eea81d1e8d..1e2de0711b8 100644 --- a/spec/features/projects/tree/create_file_spec.rb +++ b/spec/features/projects/tree/create_file_spec.rb @@ -1,9 +1,6 @@ require 'spec_helper' feature 'Multi-file editor new file', :js do - include CookieHelper - include WaitForRequests - let(:user) { create(:user) } let(:project) { create(:project, :repository) } diff --git a/spec/features/projects/tree/upload_file_spec.rb b/spec/features/projects/tree/upload_file_spec.rb index b7e940eac43..8439bb5a69e 100644 --- a/spec/features/projects/tree/upload_file_spec.rb +++ b/spec/features/projects/tree/upload_file_spec.rb @@ -1,9 +1,6 @@ require 'spec_helper' feature 'Multi-file editor upload file', :js do - include CookieHelper - include WaitForRequests - let(:user) { create(:user) } let(:project) { create(:project, :repository) } let(:txt_file) { File.join(Rails.root, 'spec', 'fixtures', 'doc_sample.txt') } |