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
0e2aaeb8
Commit
0e2aaeb8
authored
Apr 18, 2019
by
Heinrich Lee Yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix project auto dev ops failure
parent
25669951
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
config/initializers/active_record_build_select.rb
config/initializers/active_record_build_select.rb
+2
-0
spec/services/projects/update_service_spec.rb
spec/services/projects/update_service_spec.rb
+2
-0
No files found.
config/initializers/active_record_build_select.rb
View file @
0e2aaeb8
# frozen_string_literal: true
# rubocop:disable Gitlab/ModuleWithInstanceVariables
# rubocop:disable Gitlab/ModuleWithInstanceVariables
# build_select only selects the required fields if the model has ignored_columns.
# build_select only selects the required fields if the model has ignored_columns.
...
...
spec/services/projects/update_service_spec.rb
View file @
0e2aaeb8
...
@@ -440,6 +440,8 @@ describe Projects::UpdateService do
...
@@ -440,6 +440,8 @@ describe Projects::UpdateService do
context
'when auto devops is set to instance setting'
do
context
'when auto devops is set to instance setting'
do
before
do
before
do
project
.
create_auto_devops!
(
enabled:
nil
)
project
.
create_auto_devops!
(
enabled:
nil
)
project
.
reload
allow
(
project
.
auto_devops
).
to
receive
(
:previous_changes
).
and_return
(
'enabled'
=>
true
)
allow
(
project
.
auto_devops
).
to
receive
(
:previous_changes
).
and_return
(
'enabled'
=>
true
)
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