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
Léo-Paul Géneau
gitlab-ce
Commits
07729881
Commit
07729881
authored
Mar 14, 2018
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix variables collection item sequence specs
parent
1e811eb8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
spec/lib/gitlab/ci/variables/collection/item_spec.rb
spec/lib/gitlab/ci/variables/collection/item_spec.rb
+3
-4
No files found.
spec/lib/gitlab/ci/variables/collection/item_spec.rb
View file @
07729881
...
@@ -14,12 +14,11 @@ describe Gitlab::Ci::Variables::Collection::Item do
...
@@ -14,12 +14,11 @@ describe Gitlab::Ci::Variables::Collection::Item do
end
end
it
'supports using an active record resource'
do
it
'supports using an active record resource'
do
resource
=
described_class
.
fabricate
(
create
(
:ci_variable
))
variable
=
create
(
:ci_variable
,
key:
'CI_VAR'
,
value:
'123'
)
resource
=
described_class
.
fabricate
(
variable
)
expect
(
resource
).
to
be_a
(
described_class
)
expect
(
resource
).
to
be_a
(
described_class
)
expect
(
resource
).
to
eq
(
key:
'VARIABLE_1'
,
expect
(
resource
).
to
eq
(
key:
'CI_VAR'
,
value:
'123'
,
public:
false
)
value:
'VARIABLE_VALUE'
,
public:
false
)
end
end
it
'supports using another collection item'
do
it
'supports using another collection item'
do
...
...
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