diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-05-18 14:52:40 -0500 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-05-19 08:24:35 -0500 |
commit | 72d42944067d3137f4e9fdb6790835f26f15d73f (patch) | |
tree | 752457c0087d0737c156d0cc67960c9ef28a0972 | |
parent | be1351cdcb21b4e213ca0534393e710962614eaa (diff) | |
download | gitlab-ce-72d42944067d3137f4e9fdb6790835f26f15d73f.tar.gz |
Fix specs32418-make-link-to-self-less-obvious
-rw-r--r-- | features/steps/dashboard/todos.rb | 2 | ||||
-rw-r--r-- | spec/features/merge_requests/form_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/dashboard/todos.rb b/features/steps/dashboard/todos.rb index 14c13c4818a..13fd3239e86 100644 --- a/features/steps/dashboard/todos.rb +++ b/features/steps/dashboard/todos.rb @@ -138,7 +138,7 @@ class Spinach::Features::DashboardTodos < Spinach::FeatureSteps end step 'I should be directed to the corresponding page' do - page.should have_css('.identifier', text: 'Merge Request !1') + page.should have_css('.identifier', text: 'Merge request !1') # Merge request page loads and issues a number of Ajax requests wait_for_ajax end diff --git a/spec/features/merge_requests/form_spec.rb b/spec/features/merge_requests/form_spec.rb index f8518f450dc..00ef1ffdddc 100644 --- a/spec/features/merge_requests/form_spec.rb +++ b/spec/features/merge_requests/form_spec.rb @@ -90,7 +90,7 @@ describe 'New/edit merge request', feature: true, js: true do page.within '.issuable-meta' do merge_request = MergeRequest.find_by(source_branch: 'fix') - expect(page).to have_text("Merge Request #{merge_request.to_reference}") + expect(page).to have_text("Merge request #{merge_request.to_reference}") # compare paths because the host differ in test expect(find_link(merge_request.to_reference)[:href]) .to end_with(merge_request_path(merge_request)) |