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
7691e015
Commit
7691e015
authored
Dec 03, 2017
by
Matija Čupić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor clusters feature spec unused variable
parent
bc874a6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
spec/features/projects/clusters_spec.rb
spec/features/projects/clusters_spec.rb
+4
-5
No files found.
spec/features/projects/clusters_spec.rb
View file @
7691e015
...
...
@@ -122,12 +122,11 @@ feature 'Clusters', :js do
context
'with sucessfull request'
do
it
'user sees updated cluster'
do
cluster_enabled
=
cluster
.
enabled
page
.
find
(
'.js-toggle-cluster-list'
).
click
wait_for_requests
expect
do
page
.
find
(
'.js-toggle-cluster-list'
).
click
wait_for_requests
end
.
to
change
{
cluster
.
enabled
}
expect
(
cluster
.
enabled
).
to
eq
(
!
cluster
.
enabled
)
expect
(
page
).
not_to
have_selector
(
'.is-checked'
)
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