Sha256: 03468109b84f332cb5dd224f95318786428531932a48fe01eee523d61fdcca8e

Contents?: true

Size: 300 Bytes

Versions: 8

Compression:

Stored size: 300 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Request, '#success' do

  subject { object.success(output) }

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

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