diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-18 14:35:43 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-18 14:35:43 +0300 |
commit | 28ce41c00ebba5b60c69f75d9bce97c11210779a (patch) | |
tree | 747d77bab7cf97c16498e4e6f79ed2427540cabb /spec/models/commit_status_spec.rb | |
parent | 433ca7390d800a2fda3e3c5eb29272d0ba2d9df6 (diff) |
Fix tests
Diffstat (limited to 'spec/models/commit_status_spec.rb')
-rw-r--r-- | spec/models/commit_status_spec.rb | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/spec/models/commit_status_spec.rb b/spec/models/commit_status_spec.rb index 31d546820c2..971e6750375 100644 --- a/spec/models/commit_status_spec.rb +++ b/spec/models/commit_status_spec.rb @@ -232,28 +232,4 @@ describe CommitStatus, models: true do end end end - - describe '#branch?' do - subject { commit_status.branch? } - - context 'is not a tag' do - before do - commit_status.tag = false - end - - it 'return true when tag is set to false' do - is_expected.to be_truthy - end - end - - context 'is not a tag' do - before do - commit_status.tag = true - end - - it 'return false when tag is set to true' do - is_expected.to be_falsey - end - end - end end |