Commit e6bbff0a authored by Tim Zallmann's avatar Tim Zallmann

Creating an issue

Fixing Text Tests
parent 08f2f399
......@@ -4,9 +4,9 @@
.user-callout-copy
%h4
- if current_application_settings.should_check_namespace_plan?
Upgrade your plan to activate Service Desk.
- else
Upgrade your plan to activate Audit Events
- else
Track your project with Audit Events
%p
With contribution analytics you can have an overview for the activity of issues, merge requests and push events of your organization and its members.
%a{ href: '/help/administration/audit_events.html', target: '_blank' } Read more
......
......@@ -7,6 +7,7 @@ describe 'Promotions', js: true do
let(:group) { create(:group) }
let(:project) { create(:project, :repository) }
let(:milestone) { create(:milestone, project: project, start_date: Date.today, due_date: 7.days.from_now) }
let!(:issue) { create(:issue, project: project, author: user) }
let(:otherproject) { create(:project, :repository, namespace: otherdeveloper.namespace) }
describe 'if you have a license' do
......@@ -245,7 +246,7 @@ describe 'Promotions', js: true do
it 'should appear on the page' do
visit group_analytics_path(group)
expect(find('.user-callout-copy')).to have_content 'Track activity with Contribution analytics and GitLab Enterprise Edition.'
expect(find('.user-callout-copy')).to have_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.'
expect(find('.user-callout-copy')).to have_content 'With contribution analytics you can have an overview for the activity of issues, merge requests and push events of your organization and its members.'
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