Sha256: 08437026340a88febda80fd99d7325db6432a10991d94203732ae299f7bf6f24

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Response::Success, '#success?' do
  subject { object.success? }

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

  it { should be(true) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
substation-0.0.10.beta2 spec/unit/substation/response/success/success_predicate_spec.rb