lib/zendesk2/client/mock.rb in zendesk2-1.2.4 vs lib/zendesk2/client/mock.rb in zendesk2-1.2.5
- old
+ new
@@ -40,10 +40,10 @@
@data = nil
end
def initialize(options={})
@url = options[:url]
- @path = ::URI.parse(url).path
+ @path = Addressable::URI.parse(url).path
@username, @password = options[:username], options[:password]
@token = options[:token]
@jwt_token = options[:jwt_token]
@current_user ||= self.create_user("email" => @username, "name" => "Mock Agent").body["user"]