Browse files

Reenable test in app model

  • Loading branch information...
1 parent 09fc5cb commit a61059d38a987836ed626e12e0172a23dd3280cb @frodenas committed Mar 1, 2012
Showing with 7 additions and 8 deletions.
  1. +7 −8 spec/models/app_spec.rb
View
15 spec/models/app_spec.rb
@@ -855,14 +855,13 @@
end
end
- # TODO Fix this test when executed in Travis CI
- #it 'raises an exception when uploading bits from Git and bits did not change' do
- #VCR.use_cassette("models/logged/app_upload_from_git_nofiles", :record => :new_episodes, :exclusive => true) do
- #expect {
- #uploaded = @app.upload_app_from_git("fakeapp", "git://github.com/frodenas/cloudfoundry-client.git", "master")
- #}.to raise_exception(I18n.t('apps.model.no_files'))
- #end
- #end
+ it 'raises an exception when uploading bits from Git and bits did not change' do
+ VCR.use_cassette("models/logged/app_upload_from_git_nofiles", :record => :new_episodes, :exclusive => true) do
+ expect {
+ uploaded = @app.upload_app_from_git("fakeapp", "git://github.com/frodenas/cloudfoundry-client.git", "master")
+ }.to raise_exception
+ end
+ end
it 'raises an exception when uploading bits from Git for an app that does not exists' do
expect {

0 comments on commit a61059d

Please sign in to comment.