diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2016-04-17 00:48:35 +0300 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2016-04-17 00:48:35 +0300 |
commit | 5048064dc5e7ca30f65209c7ccd9fb90f9ac49db (patch) | |
tree | 520d4c7ac81dd34a97f58d0009ae5670b467556f /spec/features/issues/move_spec.rb | |
parent | 7dce9b1dc2edde2b4381604a3d0e09ba5835c6cf (diff) | |
parent | 84fba4d16248de96dcea1ab7e6a56aae58668175 (diff) |
Merge branch 'issues-mobile-header' into 'master'
Refactored issue header to work better for mobile
This will also work better for when the title makes the buttons drop down a new line
Closes #14228
See merge request !3487
Diffstat (limited to 'spec/features/issues/move_spec.rb')
-rw-r--r-- | spec/features/issues/move_spec.rb | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/spec/features/issues/move_spec.rb b/spec/features/issues/move_spec.rb index 6fda0c31866..84c8e20ebaa 100644 --- a/spec/features/issues/move_spec.rb +++ b/spec/features/issues/move_spec.rb @@ -42,11 +42,9 @@ feature 'issue move to another project' do expect(current_url).to include project_path(new_project) - page.within('.issue') do - expect(page).to have_content("Text with #{cross_reference}!1") - expect(page).to have_content("Moved from #{cross_reference}#1") - expect(page).to have_content(issue.title) - end + expect(page).to have_content("Text with #{cross_reference}!1") + expect(page).to have_content("Moved from #{cross_reference}#1") + expect(page).to have_content(issue.title) end context 'projects user does not have permission to move issue to exist' do @@ -74,7 +72,7 @@ feature 'issue move to another project' do def edit_issue(issue) visit issue_path(issue) - page.within('.issuable-header') { click_link 'Edit' } + page.within('.issuable-actions') { first(:link, 'Edit').click } end def issue_path(issue) |