lib/sucker/stub.rb in sucker-0.8.0 vs lib/sucker/stub.rb in sucker-0.9.0
- old
+ new
@@ -1,9 +1,7 @@
module Sucker
- # Stubs Sucker::Response to run specs offline. Ideally, I'd like to use
- # a general-purpose stubber for Curb but last time I checked, there was
- # none.
+ # Stubs Sucker::Response to run specs offline.
class MockResponse < Response
def initialize(mock_response_body)
self.body = mock_response_body
self.code = 200
self.time = 0.1