diff options
author | Phil Hughes <me@iamphill.com> | 2017-09-04 21:23:57 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-09-04 21:23:57 +0300 |
commit | 3b1993a83e9b918accdc62be18ebaa4b198c4b90 (patch) | |
tree | 09006144299671ded6f909baed37deacdad27ed0 /spec/features/issues | |
parent | 38f15514529865eefd74c3b4618eae23c6eda892 (diff) |
rspec test fixes
Diffstat (limited to 'spec/features/issues')
-rw-r--r-- | spec/features/issues/form_spec.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/spec/features/issues/form_spec.rb b/spec/features/issues/form_spec.rb index 4297bfff3d9..2db6f9a2982 100644 --- a/spec/features/issues/form_spec.rb +++ b/spec/features/issues/form_spec.rb @@ -166,12 +166,10 @@ describe 'New/edit issue', :js do end end - page.within '.issuable-meta' do + page.within '.breadcrumbs' do issue = Issue.find_by(title: 'title') - expect(page).to have_text("Issue #{issue.to_reference}") - # compare paths because the host differ in test - expect(find_link(issue.to_reference)[:href]).to end_with(issue_path(issue)) + expect(page).to have_text("Issues #{issue.to_reference}") end end |