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

12 lines
232 B
Ruby
Raw Normal View History

2019-10-06 15:45:34 +00:00
require File.expand_path("../endpoint_fallback", __FILE__)
Artifice.deactivate
class EndpointMarshalFail < EndpointFallback
get "/api/v1/dependencies" do
"f0283y01hasf"
end
end
Artifice.activate_with(EndpointMarshalFail)