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
15cf919a
Commit
15cf919a
authored
Apr 13, 2021
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ruby version in EE specs to 3.0.1
Signed-off-by:
Takuya Noguchi
<
takninnovationresearch@gmail.com
>
parent
43310934
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ee/spec/lib/gitlab/ci/config/required/processor_spec.rb
ee/spec/lib/gitlab/ci/config/required/processor_spec.rb
+1
-1
ee/spec/lib/gitlab/ci/config/security_orchestration_policies/processor_spec.rb
.../config/security_orchestration_policies/processor_spec.rb
+3
-3
No files found.
ee/spec/lib/gitlab/ci/config/required/processor_spec.rb
View file @
15cf919a
...
@@ -5,7 +5,7 @@ require 'spec_helper'
...
@@ -5,7 +5,7 @@ require 'spec_helper'
RSpec
.
describe
Gitlab
::
Ci
::
Config
::
Required
::
Processor
do
RSpec
.
describe
Gitlab
::
Ci
::
Config
::
Required
::
Processor
do
subject
{
described_class
.
new
(
config
).
perform
}
subject
{
described_class
.
new
(
config
).
perform
}
let
(
:config
)
{
{
image:
'ruby:
2.5.3
'
}
}
let
(
:config
)
{
{
image:
'ruby:
3.0.1
'
}
}
context
'when feature is available'
do
context
'when feature is available'
do
before
do
before
do
...
...
ee/spec/lib/gitlab/ci/config/security_orchestration_policies/processor_spec.rb
View file @
15cf919a
...
@@ -5,7 +5,7 @@ require 'spec_helper'
...
@@ -5,7 +5,7 @@ require 'spec_helper'
RSpec
.
describe
Gitlab
::
Ci
::
Config
::
SecurityOrchestrationPolicies
::
Processor
do
RSpec
.
describe
Gitlab
::
Ci
::
Config
::
SecurityOrchestrationPolicies
::
Processor
do
subject
{
described_class
.
new
(
config
,
project
,
ref
).
perform
}
subject
{
described_class
.
new
(
config
,
project
,
ref
).
perform
}
let_it_be
(
:config
)
{
{
image:
'ruby:
2.5.3
'
}
}
let_it_be
(
:config
)
{
{
image:
'ruby:
3.0.1
'
}
}
let_it_be
(
:ref
)
{
'master'
}
let_it_be
(
:ref
)
{
'master'
}
let_it_be_with_refind
(
:project
)
{
create
(
:project
,
:repository
)
}
let_it_be_with_refind
(
:project
)
{
create
(
:project
,
:repository
)
}
...
@@ -74,7 +74,7 @@ RSpec.describe Gitlab::Ci::Config::SecurityOrchestrationPolicies::Processor do
...
@@ -74,7 +74,7 @@ RSpec.describe Gitlab::Ci::Config::SecurityOrchestrationPolicies::Processor do
context
'when DAST profiles are not found'
do
context
'when DAST profiles are not found'
do
it
'does not modify the config'
do
it
'does not modify the config'
do
expect
(
subject
).
to
eq
(
expect
(
subject
).
to
eq
(
image:
'ruby:
2.5.3
'
,
image:
'ruby:
3.0.1
'
,
'dast-on-demand-0'
:
{
allow_failure:
true
,
script:
'echo "Error during On-Demand Scan execution: Dast site profile was not provided" && false'
}
'dast-on-demand-0'
:
{
allow_failure:
true
,
script:
'echo "Error during On-Demand Scan execution: Dast site profile was not provided" && false'
}
)
)
end
end
...
@@ -86,7 +86,7 @@ RSpec.describe Gitlab::Ci::Config::SecurityOrchestrationPolicies::Processor do
...
@@ -86,7 +86,7 @@ RSpec.describe Gitlab::Ci::Config::SecurityOrchestrationPolicies::Processor do
let
(
:expected_configuration
)
do
let
(
:expected_configuration
)
do
{
{
image:
'ruby:
2.5.3
'
,
image:
'ruby:
3.0.1
'
,
'dast-on-demand-0'
:
{
'dast-on-demand-0'
:
{
stage:
'test'
,
stage:
'test'
,
image:
{
image:
{
...
...
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