Sha256: 324f4a77f54bc2c291f28ef16c70db15772759468f9424d21e627d433f7a01ba

Contents?: true

Size: 302 Bytes

Versions: 1

Compression:

Stored size: 302 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Request, '#error' do

  subject { object.error(output) }

  let(:object) { described_class.new(env, input) }
  let(:env)    { double }
  let(:input)  { double }
  let(:output) { double }

  it { should eql(Response::Failure.new(object, output)) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
substation-0.0.10.beta2 spec/unit/substation/request/error_spec.rb