diff options
Diffstat (limited to 'spec/models/ci')
-rw-r--r-- | spec/models/ci/group_variable_spec.rb | 2 | ||||
-rw-r--r-- | spec/models/ci/variable_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/ci/group_variable_spec.rb b/spec/models/ci/group_variable_spec.rb index 406a69f3bbc..610db9bf0e5 100644 --- a/spec/models/ci/group_variable_spec.rb +++ b/spec/models/ci/group_variable_spec.rb @@ -8,7 +8,7 @@ describe Ci::GroupVariable do it_behaves_like "CI variable" it { is_expected.to include_module(Presentable) } - it { is_expected.to include_module(Maskable) } + it { is_expected.to include_module(Ci::Maskable) } it { is_expected.to validate_uniqueness_of(:key).scoped_to(:group_id).with_message(/\(\w+\) has already been taken/) } describe '.unprotected' do diff --git a/spec/models/ci/variable_spec.rb b/spec/models/ci/variable_spec.rb index 3ff547456c6..810a0ddfd2e 100644 --- a/spec/models/ci/variable_spec.rb +++ b/spec/models/ci/variable_spec.rb @@ -9,7 +9,7 @@ describe Ci::Variable do describe 'validations' do it { is_expected.to include_module(Presentable) } - it { is_expected.to include_module(Maskable) } + it { is_expected.to include_module(Ci::Maskable) } it { is_expected.to include_module(HasEnvironmentScope) } it { is_expected.to validate_uniqueness_of(:key).scoped_to(:project_id, :environment_scope).with_message(/\(\w+\) has already been taken/) } end |