Sha256: 95a00eec1adf679c708592cfab0fc7fe2f039c280925d3a9728f52ddff6d8da9

Contents?: true

Size: 300 Bytes

Versions: 23

Compression:

Stored size: 300 Bytes

Contents

require 'spec_helper'

describe AgileProxy::Handler do
  let(:handler) { Class.new { include AgileProxy::Handler }.new }
  it '#handle_request raises an error if not overridden' do
    expect(handler.call(nil)).to eql([500, {}, 'The handler has not overridden the handle_request method!'])
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
agile-proxy-0.1.26 spec/unit/agile_proxy/handlers/handler_spec.rb
agile-proxy-jruby-0.1.26-jruby spec/unit/agile_proxy/handlers/handler_spec.rb
agile-proxy-jruby-0.1.25-jruby spec/unit/agile_proxy/handlers/handler_spec.rb
agile-proxy-0.1.25 spec/unit/agile_proxy/handlers/handler_spec.rb
agile-proxy-0.1.24 spec/unit/agile_proxy/handlers/handler_spec.rb
agile-proxy-0.1.23 spec/unit/agile_proxy/handlers/handler_spec.rb
agile-proxy-0.1.22 spec/unit/agile_proxy/handlers/handler_spec.rb
agile-proxy-0.1.21 spec/unit/agile_proxy/handlers/handler_spec.rb
agile-proxy-0.1.20 spec/unit/agile_proxy/handlers/handler_spec.rb
agile-proxy-0.1.19 spec/unit/agile_proxy/handlers/handler_spec.rb
agile-proxy-0.1.18 spec/unit/agile_proxy/handlers/handler_spec.rb
agile-proxy-0.1.13 spec/unit/agile_proxy/handlers/handler_spec.rb
agile-proxy-0.1.12 spec/unit/agile_proxy/handlers/handler_spec.rb
agile-proxy-0.1.11 spec/unit/agile_proxy/handlers/handler_spec.rb
agile-proxy-0.1.10 spec/unit/agile_proxy/handlers/handler_spec.rb
agile-proxy-0.1.9 spec/unit/agile_proxy/handlers/handler_spec.rb
agile-proxy-0.1.8 spec/unit/agile_proxy/handlers/handler_spec.rb
agile-proxy-0.1.7 spec/unit/agile_proxy/handlers/handler_spec.rb
agile-proxy-0.1.6 spec/unit/agile_proxy/handlers/handler_spec.rb
agile-proxy-0.1.5 spec/unit/agile_proxy/handlers/handler_spec.rb