diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-12-03 15:47:26 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-12-03 15:47:26 +0300 |
commit | bec4740f30425aa7d0db30c7afa846a151091c2a (patch) | |
tree | bd1b4ea1fbbe95739c1defbe8f7424fb5bfdeb10 /spec/models/list_spec.rb | |
parent | 328d1a93857852bc897b472b0eba57e9a977b133 (diff) |
Fix the coding style
Diffstat (limited to 'spec/models/list_spec.rb')
-rw-r--r-- | spec/models/list_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/list_spec.rb b/spec/models/list_spec.rb index 1c14ca113d5..92c79b86078 100644 --- a/spec/models/list_spec.rb +++ b/spec/models/list_spec.rb @@ -1,6 +1,8 @@ require 'rails_helper' describe List do + it_behaves_like 'Unique enum values' + describe 'relationships' do it { is_expected.to belong_to(:board) } it { is_expected.to belong_to(:label) } @@ -21,8 +23,6 @@ describe List do end end - it_behaves_like 'Unique enum values' - describe '#destroy' do it 'can be destroyed when list_type is set to label' do subject = create(:list) |