@@ -70,6 +71,7 @@ describe 'Promotions', js: true do
let!(:license){nil}
beforedo
project.team<<[user,:master]
sign_in(user)
end
...
...
@@ -96,6 +98,7 @@ describe 'Promotions', js: true do
let!(:license){nil}
beforedo
project.team<<[user,:master]
sign_in(user)
end
...
...
@@ -122,6 +125,7 @@ describe 'Promotions', js: true do
let!(:license){nil}
beforedo
project.team<<[user,:master]
sign_in(user)
end
...
...
@@ -149,6 +153,7 @@ describe 'Promotions', js: true do
let!(:license){nil}
beforedo
project.team<<[user,:master]
sign_in(user)
end
...
...
@@ -175,6 +180,7 @@ describe 'Promotions', js: true do
let!(:license){nil}
beforedo
project.team<<[user,:master]
sign_in(user)
end
...
...
@@ -201,6 +207,7 @@ describe 'Promotions', js: true do
let!(:license){nil}
beforedo
project.team<<[user,:master]
sign_in(user)
end
...
...
@@ -216,6 +223,7 @@ describe 'Promotions', js: true do
let!(:license){nil}
beforedo
project.team<<[user,:master]
sign_in(user)
end
...
...
@@ -230,16 +238,14 @@ describe 'Promotions', js: true do
let!(:license){nil}
beforedo
group.add_owner(user)
sign_in(user)
end
it'should appear on the page'do
visitgroup_analytics_path(project)
visitgroup_analytics_path(group)
expect(find('.user-callout-copy')).tohave_content'Track activity with Contribution analytics and GitLab Enterprise Edition.'
expect(find('.user-callout-copy')).tohave_content'Audit Events is a tool for GitLab Enterprise Edition administrators to be able to track important events such as user access level, target user, and user addition or removal.'