Skip to content

Commit

Permalink
Add rake task to boot the test app.
Browse files Browse the repository at this point in the history
  • Loading branch information
myronmarston committed Feb 13, 2012
1 parent 940d764 commit 283a1bf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Rakefile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -162,3 +162,12 @@ task :run_last_cuke do
end end
end end


desc "Boot test app"
task :boot_test_app do
require './spec/support/vcr_localhost_server'
require './spec/support/sinatra_app'
VCR::SinatraApp.boot
puts "Booted sinatra app on port: #{VCR::SinatraApp.port}"
loop { }
puts "Shutting down."
end

0 comments on commit 283a1bf

Please sign in to comment.