move spec shared context up in the dir hierarchy

pull/3263/head
Jens Ulferts 9 years ago
parent 751751f6b4
commit c5de9a4fb7
  1. 2
      spec/features/work_packages/details/activity_comments_spec.rb
  2. 2
      spec/features/work_packages/details/inplace_editor/description_editor_spec.rb
  3. 2
      spec/features/work_packages/details/inplace_editor/subject_editor_spec.rb
  4. 2
      spec/features/work_packages/shared_contexts.rb

@ -1,6 +1,6 @@
require 'spec_helper'
require 'features/work_packages/details/inplace_editor/shared_contexts'
require 'features/work_packages/shared_contexts'
describe 'activity comments', js: true do
let(:project) { FactoryGirl.create :project_with_types, is_public: true }

@ -1,6 +1,6 @@
require 'spec_helper'
require 'features/work_packages/details/inplace_editor/shared_examples'
require 'features/work_packages/details/inplace_editor/shared_contexts'
require 'features/work_packages/shared_contexts'
require 'features/work_packages/details/inplace_editor/work_package_field'
require 'features/work_packages/work_packages_page'

@ -1,6 +1,6 @@
require 'spec_helper'
require 'features/work_packages/details/inplace_editor/shared_examples'
require 'features/work_packages/details/inplace_editor/shared_contexts'
require 'features/work_packages/shared_contexts'
require 'features/work_packages/details/inplace_editor/work_package_field'
require 'features/work_packages/work_packages_page'

@ -42,7 +42,7 @@ end
# Ensure the page is completely loaded before the spec is run.
# The status filter is loaded very late in the page setup.
def ensure_wp_table_loaded
expect(page).to have_selector('#operators-status_id', visible: false),
expect(page).to have_selector('.advanced-filters--filter', visible: false),
'Work package table page was not loaded in time'
end
Loading…
Cancel
Save