Commit 4fd87421 authored by Regis's avatar Regis

fix failing slash command specs

parent 0a725c80
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
shared_examples 'issuable record that supports slash commands in its description and notes' do |issuable_type| shared_examples 'issuable record that supports slash commands in its description and notes' do |issuable_type|
include SlashCommandsHelpers include SlashCommandsHelpers
include WaitForVueResource
let(:master) { create(:user) } let(:master) { create(:user) }
let(:assignee) { create(:user, username: 'bob') } let(:assignee) { create(:user, username: 'bob') }
...@@ -19,7 +18,6 @@ shared_examples 'issuable record that supports slash commands in its description ...@@ -19,7 +18,6 @@ shared_examples 'issuable record that supports slash commands in its description
project.team << [assignee, :developer] project.team << [assignee, :developer]
project.team << [guest, :guest] project.team << [guest, :guest]
login_with(master) login_with(master)
wait_for_vue_resource
end end
after do after do
...@@ -46,7 +44,7 @@ shared_examples 'issuable record that supports slash commands in its description ...@@ -46,7 +44,7 @@ shared_examples 'issuable record that supports slash commands in its description
end end
end end
describe "note on #{issuable_type}" do describe "note on #{issuable_type}", js: true do
before do before do
visit public_send("namespace_project_#{issuable_type}_path", project.namespace, project, issuable) visit public_send("namespace_project_#{issuable_type}_path", project.namespace, project, issuable)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment