diff options
Diffstat (limited to 'actionwebservice/test/abstract_unit.rb')
-rw-r--r-- | actionwebservice/test/abstract_unit.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/actionwebservice/test/abstract_unit.rb b/actionwebservice/test/abstract_unit.rb index 149f108c98..6862d222e4 100644 --- a/actionwebservice/test/abstract_unit.rb +++ b/actionwebservice/test/abstract_unit.rb @@ -29,3 +29,10 @@ ActiveRecord::Base.establish_connection( ActiveRecord::Base.connection Test::Unit::TestCase.fixture_path = "#{File.dirname(__FILE__)}/fixtures/" + +# restore default raw_post functionality +class ActionController::TestRequest + def raw_post + super + end +end
\ No newline at end of file |