Commit e03d24ac authored by Tim Zallmann's avatar Tim Zallmann

Visit correct URL for Promotion Test

parent 692570c8
......@@ -50,15 +50,15 @@ describe 'Promotions', js: true do
it 'should have the Upgrade your plan button' do
sign_in(user)
project.team << [user, :master]
visit edit_project_path(project)
expect(find('#promote_service_desk')).to have_content 'Upgrade your plan'
end
it 'should have the contact owner line' do
sign_in(developer)
project.team << [developer, :developer]
expect(find('#promote_service_desk')).to have_content 'Upgrade your plan'
visit edit_project_path(project)
expect(find('#promote_service_desk')).to have_content 'Contact owner'
end
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