summaryrefslogtreecommitdiff
path: root/spec/models/ci/variable_spec.rb
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-06-28 15:25:36 +0900
committerShinya Maeda <shinya@gitlab.com>2017-06-28 15:25:36 +0900
commitde893b19c30acf83ce43dd42376783505d704763 (patch)
tree20c3a92617e61d253f7fa20f646e695c90b805ed /spec/models/ci/variable_spec.rb
parent2633a635311f60d15d9729dc770fdf2324a67927 (diff)
downloadgitlab-ce-de893b19c30acf83ce43dd42376783505d704763.tar.gz
Diffstat (limited to 'spec/models/ci/variable_spec.rb')
-rw-r--r--spec/models/ci/variable_spec.rb2
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