Forgot to delete one of the tests

This commit is contained in:
Piotr Sarnacki 2013-03-11 23:58:58 +01:00
parent 54a6926aaf
commit c0b9a468d6

View File

@ -90,11 +90,6 @@ describe 'Repos' do
let(:on_foo) { Factory(:commit, branch: 'foo') }
let(:on_bar) { Factory(:commit, branch: 'bar') }
it '"unknown" when the repository does not exist' do
result = get('/repos/svenfuchs/does-not-exist.png?branch=foo,bar', {}, headers)
result.should deliver_result_image_for('unknown')
end
it '"unknown" when it only has unfinished builds on the relevant branches' do
Build.delete_all
Factory(:build, repository: repo, state: :started, commit: on_foo)