Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2c0ccf6e74
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (23 sloc) 0.705 kb
require 'spec_helper'
describe "A simple Sinatra app being staged" do
describe "unbundled" do
before :each do
@app_fix = VCAP::Stager::Spec::AppFixture.new(:sinatra_trivial)
end
it "is packaged with a startup script" do
@app_fix.stage(:sinatra) do |staged_dir|
verify_staged_file(staged_dir, @app_fix.staged_dir, 'startup')
end
end
end
describe "when bundled" do
before :each do
@app_fix = VCAP::Stager::Spec::AppFixture.new(:sinatra_gemfile)
end
it "is packaged with a startup script" do
@app_fix.stage(:sinatra) do |staged_dir|
verify_staged_file(staged_dir, @app_fix.staged_dir, 'startup')
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.