diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-06-28 15:25:36 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-06-28 15:25:36 +0900 |
commit | de893b19c30acf83ce43dd42376783505d704763 (patch) | |
tree | 20c3a92617e61d253f7fa20f646e695c90b805ed /spec/models/ci/variable_spec.rb | |
parent | 2633a635311f60d15d9729dc770fdf2324a67927 (diff) | |
download | gitlab-ce-de893b19c30acf83ce43dd42376783505d704763.tar.gz |
Improve small thingsfeature/sm/34314-add-hasvariable-concern
Diffstat (limited to 'spec/models/ci/variable_spec.rb')
-rw-r--r-- | spec/models/ci/variable_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/variable_spec.rb b/spec/models/ci/variable_spec.rb index ade279cd16f..329682a0771 100644 --- a/spec/models/ci/variable_spec.rb +++ b/spec/models/ci/variable_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe Ci::Variable, models: true do subject { build(:ci_variable) } - it { is_expected.to be_kind_of(HasVariable) } + it { is_expected.to include_module(HasVariable) } it { is_expected.to validate_uniqueness_of(:key).scoped_to(:project_id) } describe '.unprotected' do |