lib/picky-client/spec/test_client.rb in picky-client-2.7.0 vs lib/picky-client/spec/test_client.rb in picky-client-3.0.0.pre1
- old
+ new
@@ -10,10 +10,10 @@
# Picky::TestClient.new(BookSearch, :path => '/books')
#
def initialize rack_app, options = {}
super options
- @request = Rack::MockRequest.new rack_app
+ @request = ::Rack::MockRequest.new rack_app
end
# Wraps the search method to always extend the result with Convenience.
#
def search query, params = {}
\ No newline at end of file