bundle-new/spec/support/artifice/endpoint_marshal_fail.rb

12 lines
232 B
Ruby

require File.expand_path("../endpoint_fallback", __FILE__)
Artifice.deactivate
class EndpointMarshalFail < EndpointFallback
get "/api/v1/dependencies" do
"f0283y01hasf"
end
end
Artifice.activate_with(EndpointMarshalFail)