Sha256: 1eba2a10e7566f7ec013cca29efe47997e4c2fed764b376f932f46065ec1f989

Contents?: true

Size: 370 Bytes

Versions: 3

Compression:

Stored size: 370 Bytes

Contents

require 'pact_broker/ui/controllers/base_controller'
require 'pact_broker/logging'
require 'pact_broker/error'

module PactBroker
  module UI
    module Controllers
      class ErrorTest < Base
        include PactBroker::Services

        get "/" do
          raise PactBroker::Error.new("Don't panic. This is a test UI error.")
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pact_broker-2.18.0 lib/pact_broker/ui/controllers/error_test.rb
pact_broker-2.17.1 lib/pact_broker/ui/controllers/error_test.rb
pact_broker-2.17.0 lib/pact_broker/ui/controllers/error_test.rb