expect(find('#promote_squash_commits')).tohave_content'Improve Merge Requests with squash commit'
expect(find('#promote_squash_commits')).tohave_content'Improve Merge Requests with Squash Commit and GitLab Enterprise Edition.'
expect(find('#promote_squash_commits')).tohave_content'Squashing lets you tidy up the commit history of a branch when accepting a merge request.'
end
...
...
@@ -187,7 +187,7 @@ describe 'Promotions', js: true do
it'should appear in milestone page'do
visitproject_milestone_path(project,milestone)
expect(find('#promote_burndown_charts')).tohave_content'Improve milestone with Burndown Charts.'
expect(find('#promote_burndown_charts')).tohave_content's plan to improve milestone with Burndown Charts.'
expect(find('#promote_burndown_charts')).tohave_content'Burndown Charts are visual representations of the progress of completing a milestone.'
end
...
...
@@ -215,7 +215,7 @@ describe 'Promotions', js: true do
it'should appear on export modal'do
visitproject_issues_path(project)
click_on'Export as CSV'
expect(find('.issues-export-modal')).tohave_content'Export issues with GitLab Enterprise Edition'
expect(find('.issues-export-modal')).tohave_content'Export issues with GitLab Enterprise Edition.'
expect(find('.issues-export-modal')).tohave_content'Export Issues to CSV enables you and your team to export all the data collected from issues into a comma-separated values (CSV) file'