Commit b0149921 authored by Douwe Maan's avatar Douwe Maan

Merge branch '62128-remove-ignore-rule-for-project-auto-devops-domain' into 'master'

Remove ignore rule for ProjectAutoDevops#domain

See merge request gitlab-org/gitlab-ce!30989
parents 0d538e44 f6bfd51d
# frozen_string_literal: true # frozen_string_literal: true
class ProjectAutoDevops < ApplicationRecord class ProjectAutoDevops < ApplicationRecord
include IgnorableColumn
ignore_column :domain
belongs_to :project, inverse_of: :auto_devops belongs_to :project, inverse_of: :auto_devops
enum deploy_strategy: { enum deploy_strategy: {
......
...@@ -15,7 +15,7 @@ describe ProjectAutoDevops do ...@@ -15,7 +15,7 @@ describe ProjectAutoDevops do
it { is_expected.to respond_to(:updated_at) } it { is_expected.to respond_to(:updated_at) }
describe '#predefined_variables' do 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 context 'when deploy_strategy is manual' do
let(:auto_devops) { build_stubbed(:project_auto_devops, :manual_deployment, project: project) } let(:auto_devops) { build_stubbed(:project_auto_devops, :manual_deployment, project: project) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment