Sha256: fdeaa0c7df6fe36320d2d45936ceaca5f2df317958dd8a667ae365c5d139474b

Contents?: true

Size: 211 Bytes

Versions: 4

Compression:

Stored size: 211 Bytes

Contents

require File.expand_path("../endpoint", __FILE__)

Artifice.deactivate

class EndpointApiForbidden < Endpoint
  get "/api/v1/dependencies" do
    halt 403
  end
end

Artifice.activate_with(EndpointApiForbidden)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bundler-1.7.15 spec/support/artifice/endpoint_api_forbidden.rb
bundler-1.7.14 spec/support/artifice/endpoint_api_forbidden.rb
bundler-1.7.13 spec/support/artifice/endpoint_api_forbidden.rb
bundler-1.7.12 spec/support/artifice/endpoint_api_forbidden.rb