diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-15 23:07:59 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-17 12:58:59 -0300 |
commit | 847ebce90ab66dd21541ce8bd147931c49814e88 (patch) | |
tree | 6568aef72d3496c5cf3a5cbd11d80ff06a1fa750 /spec/models/list_spec.rb | |
parent | 66da64ae1e21287a04bd2dc73034eafee688c53f (diff) | |
download | gitlab-ce-847ebce90ab66dd21541ce8bd147931c49814e88.tar.gz |
Remove useless delegate method on List model
Diffstat (limited to 'spec/models/list_spec.rb')
-rw-r--r-- | spec/models/list_spec.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/models/list_spec.rb b/spec/models/list_spec.rb index 86ff4cafa93..664d12a2fd3 100644 --- a/spec/models/list_spec.rb +++ b/spec/models/list_spec.rb @@ -6,10 +6,6 @@ describe List do it { is_expected.to belong_to(:label) } end - describe 'delegate methods' do - it { is_expected.to delegate_method(:name).to(:label).with_prefix } - end - describe 'validations' do it { is_expected.to validate_presence_of(:board) } it { is_expected.to validate_presence_of(:label) } |