Sha256: 84465852e567134ef481a9af6e1e5c74165b94d13231a42cf6ee6b92c18c6134

Contents?: true

Size: 417 Bytes

Versions: 1

Compression:

Stored size: 417 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Processor::Pivot, '#call' do
  subject { object.call(request) }

  let(:object)  { described_class.new(s_env, Spec::Handler::Pivot.new) }
  let(:s_env)   { double }
  let(:request) { Request.new(env, input) }
  let(:env)     { double }
  let(:input)   { double }

  let(:response) { Response::Success.new(request, request.input) }

  it { should eql(response) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
substation-0.0.10.beta2 spec/unit/substation/processor/pivot/call_spec.rb