diff options
author | Azul <azul@leap.se> | 2014-04-11 10:35:41 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-04-11 10:35:41 +0200 |
commit | 63010ddb7cf4ef124376d8a6f35b6de35c99d175 (patch) | |
tree | 247de1f9941d489d582bf141a9d9cbebf9f5bf46 | |
parent | 38558224e10f3fddba29aaa25397495a0fded263 (diff) |
move include AssertResponses into test itself
it may not have been required before the RackTest support class.
-rw-r--r-- | test/integration/api/srp_test.rb | 1 | ||||
-rw-r--r-- | test/support/rack_test.rb | 3 |
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 |