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
Boxiang Sun
gitlab-ce
Commits
f82d6c18
Commit
f82d6c18
authored
Oct 04, 2016
by
Filipa Lacerda
Committed by
Kamil Trzcinski
Oct 06, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates failing test
parent
34a98085
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
spec/features/environments_spec.rb
spec/features/environments_spec.rb
+5
-5
No files found.
spec/features/environments_spec.rb
View file @
f82d6c18
...
...
@@ -175,12 +175,12 @@ feature 'Environments', feature: true do
before
do
visit
namespace_project_environment_path
(
project
.
namespace
,
project
,
environment
)
end
context
'when logged as master'
do
given
(
:role
)
{
:master
}
scenario
'does
delet
e environment'
do
click_link
'
Destroy
'
scenario
'does
clos
e environment'
do
click_link
'
Close
'
expect
(
page
).
not_to
have_link
(
environment
.
name
)
end
end
...
...
@@ -188,8 +188,8 @@ feature 'Environments', feature: true do
context
'when logged as developer'
do
given
(
:role
)
{
:developer
}
scenario
'does not have a
Destroy
link'
do
expect
(
page
).
not_to
have_link
(
'
Destroy
'
)
scenario
'does not have a
Close
link'
do
expect
(
page
).
not_to
have_link
(
'
Close
'
)
end
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