diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-05-14 17:41:56 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-05-14 17:41:56 +0900 |
commit | 82a49d0fea1ace87b5619fbc4ed728f43fdef7bd (patch) | |
tree | 9e2e4fea61e4453a9a6fbdc83bcf5cedae98d5ca /spec/models/deployment_spec.rb | |
parent | 1e76f289fb3f6e125594d2ec0169ecde25e4e335 (diff) | |
download | gitlab-ce-82a49d0fea1ace87b5619fbc4ed728f43fdef7bd.tar.gz |
Clarify scope for AtomicInternalId shared spec
Diffstat (limited to 'spec/models/deployment_spec.rb')
-rw-r--r-- | spec/models/deployment_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/deployment_spec.rb b/spec/models/deployment_spec.rb index aee70bcfb29..e01906f4b6c 100644 --- a/spec/models/deployment_spec.rb +++ b/spec/models/deployment_spec.rb @@ -20,6 +20,7 @@ describe Deployment do it_behaves_like 'AtomicInternalId' do let(:internal_id_attribute) { :iid } let(:instance) { build(:deployment) } + let(:scope) { :project } let(:scope_attrs) { { project: instance.project } } let(:usage) { :deployments } end |