summaryrefslogtreecommitdiff
path: root/users/test/integration/api
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-07-14 19:52:54 +0200
committerAzul <azul@leap.se>2013-07-14 19:52:54 +0200
commit8b79988c4c6cedd77664e14f16b149a669965eff (patch)
treebea408e33b4f2a973b8f268a5ad41399fe527072 /users/test/integration/api
parent740813d8350290c176c1b0d0cfe3ac80aee1b420 (diff)
make sure capybara runs the whole rack app
We use port 3003 for the integration test server. This test takes a few seconds (~8) now. Most of this is startup time of the server. A second run still takes 2 seconds like before.
Diffstat (limited to 'users/test/integration/api')
-rw-r--r--users/test/integration/api/rack_test.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/users/test/integration/api/rack_test.rb b/users/test/integration/api/rack_test.rb
index da960f2..9a69f52 100644
--- a/users/test/integration/api/rack_test.rb
+++ b/users/test/integration/api/rack_test.rb
@@ -1,6 +1,3 @@
-CONFIG_RU = (Rails.root + 'config.ru').to_s
-OUTER_APP = Rack::Builder.parse_file(CONFIG_RU).first
-
class RackTest < ActiveSupport::TestCase
include Rack::Test::Methods
include Warden::Test::Helpers