diff options
Diffstat (limited to 'spec/features/projects/releases/user_views_edit_release_spec.rb')
-rw-r--r-- | spec/features/projects/releases/user_views_edit_release_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/features/projects/releases/user_views_edit_release_spec.rb b/spec/features/projects/releases/user_views_edit_release_spec.rb index f08f5529472..6551b254643 100644 --- a/spec/features/projects/releases/user_views_edit_release_spec.rb +++ b/spec/features/projects/releases/user_views_edit_release_spec.rb @@ -30,10 +30,12 @@ RSpec.describe 'User edits Release', :js do it 'renders the breadcrumbs' do within('.breadcrumbs') do - expect(page).to have_content("#{project.creator.name} #{project.name} Edit Release") + expect(page).to have_content("#{project.creator.name} #{project.name} Releases #{release.name} Edit Release") expect(page).to have_link(project.creator.name, href: user_path(project.creator)) expect(page).to have_link(project.name, href: project_path(project)) + expect(page).to have_link(_('Releases'), href: project_releases_path(project)) + expect(page).to have_link(release.name, href: project_release_path(project, release)) expect(page).to have_link('Edit Release', href: edit_project_release_path(project, release)) end end |