Commit 4a75aac0 authored by Simon Knox's avatar Simon Knox

remove tests that should have been reverted

parent 19d38ffc
...@@ -755,22 +755,4 @@ describe Issue do ...@@ -755,22 +755,4 @@ describe Issue do
end end
end 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 end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment