BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
7365ac60
Unverified
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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
list_spec.rb
spec/features/projects/badges/list_spec.rb
+1
-4
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