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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
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
...
@@ -8,12 +8,10 @@ feature 'list of badges' do
project
=
create
(
:project
)
project
=
create
(
:project
)
project
.
team
<<
[
user
,
:master
]
project
.
team
<<
[
user
,
:master
]
login_as
(
user
)
login_as
(
user
)
visit
edit_namespace_project
_path
(
project
.
namespace
,
project
)
visit
namespace_project_badges
_path
(
project
.
namespace
,
project
)
end
end
scenario
'user displays list of badges'
do
scenario
'user displays list of badges'
do
click_link
'Badges'
expect
(
page
).
to
have_content
'build status'
expect
(
page
).
to
have_content
'build status'
expect
(
page
).
to
have_content
'Markdown'
expect
(
page
).
to
have_content
'Markdown'
expect
(
page
).
to
have_content
'HTML'
expect
(
page
).
to
have_content
'HTML'
...
@@ -26,7 +24,6 @@ feature 'list of badges' do
...
@@ -26,7 +24,6 @@ feature 'list of badges' do
end
end
scenario
'user changes current ref on badges list page'
,
js:
true
do
scenario
'user changes current ref on badges list page'
,
js:
true
do
click_link
'Badges'
select2
(
'improve/awesome'
,
from:
'#ref'
)
select2
(
'improve/awesome'
,
from:
'#ref'
)
expect
(
page
).
to
have_content
'badges/improve/awesome/build.svg'
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
...
@@ -12,7 +12,7 @@ feature 'Master updates tag', feature: true do
context
'from the tags list page'
do
context
'from the tags list page'
do
scenario
'updates the release notes'
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'
click_link
'Edit release notes'
end
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