diff options
author | Fatih Acet <acetfatih@gmail.com> | 2017-07-20 19:12:10 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2017-07-21 22:35:26 +0300 |
commit | 665471e5f8aa7b547ac3bb0838d66402e2af0646 (patch) | |
tree | 8261c8ac9a6f7db61c25b5b7770097c9f50f9a95 | |
parent | a22665931d85f3980f9b0f0e5301142a0803087d (diff) | |
download | gitlab-ce-665471e5f8aa7b547ac3bb0838d66402e2af0646.tar.gz |
IssueNotesRefactor: Fix task list specs.
-rw-r--r-- | spec/features/task_lists_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/features/task_lists_spec.rb b/spec/features/task_lists_spec.rb index dfc362321aa..158e4f80a86 100644 --- a/spec/features/task_lists_spec.rb +++ b/spec/features/task_lists_spec.rb @@ -1,6 +1,6 @@ require 'spec_helper' -feature 'Task Lists', feature: true do +feature 'Task Lists', feature: true, js: true do include Warden::Test::Helpers let(:project) { create(:empty_project) } @@ -194,7 +194,6 @@ feature 'Task Lists', feature: true do expect(page).to have_selector('.note .js-task-list-container') expect(page).to have_selector('.note .js-task-list-container .task-list .task-list-item .task-list-item-checkbox') - expect(page).to have_selector('.note .js-task-list-container .js-task-list-field') end it 'is only editable by author' do @@ -264,7 +263,6 @@ feature 'Task Lists', feature: true do expect(page).to have_selector(container) expect(page).to have_selector("#{container} .wiki .task-list .task-list-item .task-list-item-checkbox") - expect(page).to have_selector("#{container} .js-task-list-field") expect(page).to have_selector('form.js-issuable-update') expect(page).to have_selector('a.btn-close') end |