Permalink
Browse files

Add rake task to boot the test app.

  • Loading branch information...
myronmarston committed Feb 13, 2012
1 parent 940d764 commit 283a1bf924aef81d7c1d86fbaa86ec3f221dbc24
Showing with 9 additions and 0 deletions.
  1. +9 −0 Rakefile
View
@@ -162,3 +162,12 @@ task :run_last_cuke do
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.