diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-01-18 11:34:55 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-01-18 11:34:55 +0100 |
commit | 73fcfb296c90746f868ec11a19477a16039ef9a5 (patch) | |
tree | bcd83211fbd4d7a62fb8e1183ef8c66fe4eb2675 /spec/models/concerns | |
parent | 3bc0525ad90aa84ff864a0bc9c43e18ec5d5cd3d (diff) | |
download | gitlab-ce-73fcfb296c90746f868ec11a19477a16039ef9a5.tar.gz |
Add a default status const to common status concern
Diffstat (limited to 'spec/models/concerns')
-rw-r--r-- | spec/models/concerns/has_status_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/models/concerns/has_status_spec.rb b/spec/models/concerns/has_status_spec.rb index 4d0f51fe82a..dbfe3cd2d36 100644 --- a/spec/models/concerns/has_status_spec.rb +++ b/spec/models/concerns/has_status_spec.rb @@ -219,4 +219,10 @@ describe HasStatus do end end end + + describe '::DEFAULT_STATUS' do + it 'is a status created' do + expect(described_class::DEFAULT_STATUS).to eq 'created' + end + end end |