summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/integration/api/srp_test.rb1
-rw-r--r--test/support/rack_test.rb3
2 files changed, 3 insertions, 1 deletions
diff --git a/test/integration/api/srp_test.rb b/test/integration/api/srp_test.rb
index 946450e..26adc8c 100644
--- a/test/integration/api/srp_test.rb
+++ b/test/integration/api/srp_test.rb
@@ -1,4 +1,5 @@
class SrpTest < RackTest
+ include AssertResponses
teardown do
if @user
diff --git a/test/support/rack_test.rb b/test/support/rack_test.rb
index 35d191b..806339a 100644
--- a/test/support/rack_test.rb
+++ b/test/support/rack_test.rb
@@ -1,7 +1,8 @@
+require_relative 'assert_responses'
+
class RackTest < ActiveSupport::TestCase
include Rack::Test::Methods
include Warden::Test::Helpers
- include AssertResponses
CONFIG_RU = (Rails.root + 'config.ru').to_s
OUTER_APP = Rack::Builder.parse_file(CONFIG_RU).first