Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Write start script for server so Cucumber doesn't try to start the au…

…ction sniper app twice.
  • Loading branch information...
commit a1d1e8c296dd67b888bb73e863c5cfdc16e6e2b1 1 parent 166127d
Mike Gehard authored
Showing with 5 additions and 4 deletions.
  1. +0 −4 app/auction_sniper.rb
  2. +5 −0 start_auction_sniper.rb
4 app/auction_sniper.rb
View
@@ -20,7 +20,3 @@ class AuctionSniper < Sinatra::Base
end
end
-
-AuctionSniper.run! :port => 4567
-
-
5 start_auction_sniper.rb
View
@@ -0,0 +1,5 @@
+$LOAD_PATH.unshift('app')
+
+require 'auction_sniper'
+
+AuctionSniper.run! :port => 5678
Please sign in to comment.
Something went wrong with that request. Please try again.