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
f6bfd51d
Commit
f6bfd51d
authored
Jul 22, 2019
by
Tiger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ignore rule for ProjectAutoDevops#domain
parent
a744fd79
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
app/models/project_auto_devops.rb
app/models/project_auto_devops.rb
+0
-4
spec/models/project_auto_devops_spec.rb
spec/models/project_auto_devops_spec.rb
+1
-1
No files found.
app/models/project_auto_devops.rb
View file @
f6bfd51d
# frozen_string_literal: true
class
ProjectAutoDevops
<
ApplicationRecord
include
IgnorableColumn
ignore_column
:domain
belongs_to
:project
,
inverse_of: :auto_devops
enum
deploy_strategy:
{
...
...
spec/models/project_auto_devops_spec.rb
View file @
f6bfd51d
...
...
@@ -15,7 +15,7 @@ describe ProjectAutoDevops do
it
{
is_expected
.
to
respond_to
(
:updated_at
)
}
describe
'#predefined_variables'
do
let
(
:auto_devops
)
{
build_stubbed
(
:project_auto_devops
,
project:
project
,
domain:
domain
)
}
let
(
:auto_devops
)
{
build_stubbed
(
:project_auto_devops
,
project:
project
)
}
context
'when deploy_strategy is manual'
do
let
(
:auto_devops
)
{
build_stubbed
(
:project_auto_devops
,
:manual_deployment
,
project:
project
)
}
...
...
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