Commit 95126a43 authored by Tim Zallmann's avatar Tim Zallmann

Owner Test

parent feeeb017
......@@ -183,7 +183,6 @@ describe 'Promotions', js: true do
allow(Gitlab).to receive(:com?) { true }
project.team << [user, :master]
otherproject.team << [user, :master]
sign_in(user)
end
......@@ -192,11 +191,6 @@ describe 'Promotions', js: true do
expect(find('#promote_burndown_charts')).to have_content "Upgrade the plan for #{group.name} to improve milestones"
end
it 'should appear in milestone page with owners name' do
visit project_milestone_path(otherproject, milestone)
expect(find('#promote_burndown_charts')).to have_content "Upgrade #{otherdeveloper.name}'s plan to improve milestones with Burndown Charts."
end
it 'does not show when cookie is set' do
visit project_milestone_path(project, milestone)
......
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