diff options
Diffstat (limited to 'activeresource/test/http_mock.rb')
-rw-r--r-- | activeresource/test/http_mock.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/activeresource/test/http_mock.rb b/activeresource/test/http_mock.rb index 75a54e71fe..40921f6b6b 100644 --- a/activeresource/test/http_mock.rb +++ b/activeresource/test/http_mock.rb @@ -101,8 +101,10 @@ module ActiveResource class Connection private - def http - @http ||= HttpMock.new(@site) + silence_warnings do + def http + @http ||= HttpMock.new(@site) + end end end -end
\ No newline at end of file +end |