diff options
author | Simon Knox <psimyn@gmail.com> | 2017-09-12 17:25:52 +1000 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2017-09-12 17:25:52 +1000 |
commit | 4a75aac0d253c50a69331b3c0e95e112def719a6 (patch) | |
tree | 3931d39a1d68ade347c5625fb74f545e1f0431bf | |
parent | 19d38ffc89c09c9a6387203969ea463d185726a0 (diff) | |
download | gitlab-ce-4a75aac0d253c50a69331b3c0e95e112def719a6.tar.gz |
remove tests that should have been reverted
-rw-r--r-- | spec/models/issue_spec.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/spec/models/issue_spec.rb b/spec/models/issue_spec.rb index f8964f880e8..c055863d298 100644 --- a/spec/models/issue_spec.rb +++ b/spec/models/issue_spec.rb @@ -755,22 +755,4 @@ describe Issue do end end end - - describe 'removing an issue' do - it 'refreshes the number of open issues of the project' do - project = subject.project - - expect { subject.destroy } - .to change { project.open_issues_count }.from(1).to(0) - end - end - - describe '.public_only' do - it 'only returns public issues' do - public_issue = create(:issue) - create(:issue, confidential: true) - - expect(described_class.public_only).to eq([public_issue]) - end - end end |