summaryrefslogtreecommitdiff
path: root/spec/features/projects/badges
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-05-16 12:25:37 -0500
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-05-16 12:25:37 -0500
commit7365ac60f116d0e0a89a3bd8ebcf558b477c4bc3 (patch)
treece272507c2e8b9e93b92263a42303c019b5157d7 /spec/features/projects/badges
parent29211b48d785d18c3af59a11e07abaf820086701 (diff)
downloadgitlab-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.rb5
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'