diff options
author | Markus Koller <markus-koller@gmx.ch> | 2017-09-18 18:07:38 +0300 |
---|---|---|
committer | Markus Koller <markus.koller.ext@siemens.com> | 2017-11-06 12:51:50 +0300 |
commit | 1f773a8ef5a1f76166d0455c6a5e473278885c17 (patch) | |
tree | ed2d955865b49aa5d102ccb4b4f64868d4d12b77 /spec/models/group_spec.rb | |
parent | 6902848a9c54f9eb1bfd82fe173ad0d5d62fe2d5 (diff) |
Support custom attributes on groups
Diffstat (limited to 'spec/models/group_spec.rb')
-rw-r--r-- | spec/models/group_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/group_spec.rb b/spec/models/group_spec.rb index 0e1a7fdce0b..c8caa11b8b0 100644 --- a/spec/models/group_spec.rb +++ b/spec/models/group_spec.rb @@ -17,6 +17,7 @@ describe Group do it { is_expected.to have_many(:variables).class_name('Ci::GroupVariable') } it { is_expected.to have_many(:uploads).dependent(:destroy) } it { is_expected.to have_one(:chat_team) } + it { is_expected.to have_many(:custom_attributes).class_name('GroupCustomAttribute') } describe '#members & #requesters' do let(:requester) { create(:user) } |