Sha256: 9e352e53724a099ce0c4b7eae6918db3db64f4f24d0e534b4c310690165dd6e0

Contents?: true

Size: 296 Bytes

Versions: 8

Compression:

Stored size: 296 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)    { mock }
  let(:input)  { mock }
  let(:output) { mock }

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
substation-0.0.8 spec/unit/substation/request/error_spec.rb
substation-0.0.7 spec/unit/substation/request/error_spec.rb
substation-0.0.6 spec/unit/substation/request/error_spec.rb
substation-0.0.5 spec/unit/substation/request/error_spec.rb
substation-0.0.4 spec/unit/substation/request/error_spec.rb
substation-0.0.3 spec/unit/substation/request/error_spec.rb
substation-0.0.2 spec/unit/substation/request/error_spec.rb
substation-0.0.1 spec/unit/substation/request/error_spec.rb