expect(find('#promote_service_desk')).tohave_content'Upgrade your plan'
end
...
...
@@ -70,7 +70,7 @@ describe 'Promotions', js: true do
describe'for service desk',js: truedo
let!(:license){nil}
beforedo
project.team<<[user,:master]
sign_in(user)
...
...
@@ -97,7 +97,7 @@ describe 'Promotions', js: true do
describe'for merge request improve',js: truedo
let!(:license){nil}
beforedo
project.team<<[user,:master]
sign_in(user)
...
...
@@ -124,7 +124,7 @@ describe 'Promotions', js: true do
describe'for repository features',js: truedo
let!(:license){nil}
beforedo
project.team<<[user,:master]
sign_in(user)
...
...
@@ -132,7 +132,7 @@ describe 'Promotions', js: true do
it'should appear in repository settings page'do
visitproject_settings_repository_path(project)
expect(find('#promote_repository_features')).tohave_content'Improve repositories with GitLab Enterprise Edition'
expect(find('#promote_repository_features')).tohave_content'Push Rules are defined per project so you can have different rules applied to different projects depends on your needs.'
end
...
...
@@ -152,7 +152,7 @@ describe 'Promotions', js: true do
describe'for squash commits',js: truedo
let!(:license){nil}
beforedo
project.team<<[user,:master]
sign_in(user)
...
...
@@ -179,7 +179,7 @@ describe 'Promotions', js: true do
describe'for burndown charts',js: truedo
let!(:license){nil}
beforedo
project.team<<[user,:master]
sign_in(user)
...
...
@@ -206,7 +206,7 @@ describe 'Promotions', js: true do
describe'for issue export',js: truedo
let!(:license){nil}
beforedo
project.team<<[user,:master]
sign_in(user)
...
...
@@ -222,7 +222,7 @@ describe 'Promotions', js: true do
describe'for project audit events',js: truedo
let!(:license){nil}
beforedo
project.team<<[user,:master]
sign_in(user)
...
...
@@ -237,7 +237,7 @@ describe 'Promotions', js: true do
describe'for group contribution analytics',js: truedo