diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-05-16 12:25:37 -0500 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-05-16 12:25:37 -0500 |
commit | 7365ac60f116d0e0a89a3bd8ebcf558b477c4bc3 (patch) | |
tree | ce272507c2e8b9e93b92263a42303c019b5157d7 /spec/features/projects/badges | |
parent | 29211b48d785d18c3af59a11e07abaf820086701 (diff) | |
download | gitlab-ce-7365ac60f116d0e0a89a3bd8ebcf558b477c4bc3.tar.gz |
Fix spec for new project navigation
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/features/projects/badges')
-rw-r--r-- | spec/features/projects/badges/list_spec.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/features/projects/badges/list_spec.rb b/spec/features/projects/badges/list_spec.rb index 13c9b95b316..51be81d634c 100644 --- a/spec/features/projects/badges/list_spec.rb +++ b/spec/features/projects/badges/list_spec.rb @@ -8,12 +8,10 @@ feature 'list of badges' do project = create(:project) project.team << [user, :master] login_as(user) - visit edit_namespace_project_path(project.namespace, project) + visit namespace_project_badges_path(project.namespace, project) end scenario 'user displays list of badges' do - click_link 'Badges' - expect(page).to have_content 'build status' expect(page).to have_content 'Markdown' expect(page).to have_content 'HTML' @@ -26,7 +24,6 @@ feature 'list of badges' do end scenario 'user changes current ref on badges list page', js: true do - click_link 'Badges' select2('improve/awesome', from: '#ref') expect(page).to have_content 'badges/improve/awesome/build.svg' |