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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
4fbfe475
Commit
4fbfe475
authored
Jul 06, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix to Variable was successfully created
parent
b7d17aab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/features/variables_spec.rb
spec/features/variables_spec.rb
+3
-3
No files found.
spec/features/variables_spec.rb
View file @
4fbfe475
...
@@ -24,7 +24,7 @@ describe 'Project variables', js: true do
...
@@ -24,7 +24,7 @@ describe 'Project variables', js: true do
fill_in
(
'variable_value'
,
with:
'key value'
)
fill_in
(
'variable_value'
,
with:
'key value'
)
click_button
(
'Add new variable'
)
click_button
(
'Add new variable'
)
expect
(
page
).
to
have_content
(
'Variable
s were successfully upd
ated.'
)
expect
(
page
).
to
have_content
(
'Variable
was successfully cre
ated.'
)
page
.
within
(
'.variables-table'
)
do
page
.
within
(
'.variables-table'
)
do
expect
(
page
).
to
have_content
(
'key'
)
expect
(
page
).
to
have_content
(
'key'
)
expect
(
page
).
to
have_content
(
'No'
)
expect
(
page
).
to
have_content
(
'No'
)
...
@@ -36,7 +36,7 @@ describe 'Project variables', js: true do
...
@@ -36,7 +36,7 @@ describe 'Project variables', js: true do
fill_in
(
'variable_value'
,
with:
''
)
fill_in
(
'variable_value'
,
with:
''
)
click_button
(
'Add new variable'
)
click_button
(
'Add new variable'
)
expect
(
page
).
to
have_content
(
'Variable
s were successfully upd
ated.'
)
expect
(
page
).
to
have_content
(
'Variable
was successfully cre
ated.'
)
page
.
within
(
'.variables-table'
)
do
page
.
within
(
'.variables-table'
)
do
expect
(
page
).
to
have_content
(
'new_key'
)
expect
(
page
).
to
have_content
(
'new_key'
)
end
end
...
@@ -48,7 +48,7 @@ describe 'Project variables', js: true do
...
@@ -48,7 +48,7 @@ describe 'Project variables', js: true do
check
(
'Protected'
)
check
(
'Protected'
)
click_button
(
'Add new variable'
)
click_button
(
'Add new variable'
)
expect
(
page
).
to
have_content
(
'Variable
s were successfully upd
ated.'
)
expect
(
page
).
to
have_content
(
'Variable
was successfully cre
ated.'
)
page
.
within
(
'.variables-table'
)
do
page
.
within
(
'.variables-table'
)
do
expect
(
page
).
to
have_content
(
'key'
)
expect
(
page
).
to
have_content
(
'key'
)
expect
(
page
).
to
have_content
(
'Yes'
)
expect
(
page
).
to
have_content
(
'Yes'
)
...
...
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