Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
7365ac60
Commit
7365ac60
authored
May 16, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec for new project navigation
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
29211b48
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
spec/features/projects/badges/list_spec.rb
spec/features/projects/badges/list_spec.rb
+1
-4
spec/features/tags/master_updates_tag_spec.rb
spec/features/tags/master_updates_tag_spec.rb
+1
-1
No files found.
spec/features/projects/badges/list_spec.rb
View file @
7365ac60
...
...
@@ -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'
...
...
spec/features/tags/master_updates_tag_spec.rb
View file @
7365ac60
...
...
@@ -12,7 +12,7 @@ feature 'Master updates tag', feature: true do
context
'from the tags list page'
do
scenario
'updates the release notes'
do
page
.
within
(
first
(
'.controls'
))
do
page
.
within
(
first
(
'.cont
ent-list .cont
rols'
))
do
click_link
'Edit release notes'
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment