Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[finishes #46124089] update test application to exercise resource che…

…cking path
  • Loading branch information...
commit cab24ed94affc740b5a7f3d15fc89f086ef64c33 1 parent 5fe6986
Chris Brown & Sheel Choksi authored
View
4 Gemfile.lock
@@ -38,10 +38,10 @@ GIT
GIT
remote: git://github.com/cloudfoundry/vmc-lib.git
- revision: 56fe2331303c353c8fdec0dcb4a632bfc432c322
+ revision: 873e1614f4513fd0e8885f42b9f0c15f1b3d1a89
submodules: true
specs:
- cfoundry (0.5.3.rc3)
+ cfoundry (0.5.3.rc5)
cf-uaa-lib (~> 1.3.8)
multi_json (~> 1.3)
multipart-post (~> 1.1)
View
BIN  spec/assets/hello-sinatra/fat-cat-makes-app-larger.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
4 spec/features/v1/new_user_flow_spec.rb
@@ -27,6 +27,10 @@
end
it 'pushes a simple sinatra app using defaults as much as possible' do
+ if File.size("#{SPEC_ROOT}/assets/hello-sinatra/fat-cat-makes-app-larger.png") < CFoundry::UploadHelpers::RESOURCE_CHECK_LIMIT
+ fail "You need a bigger cat. (to exercise resource checking part of the application)"
+ end
+
run("#{vmc_bin} target http://#{target}") do |runner|
expect(runner).to say %r{Setting target to http://#{target}... OK}
end
Please sign in to comment.
Something went wrong with that request. Please try again.