Sha256: 5d63bf20a72382062cd6bc34a367b6d48a1abf3046143ec001d3f3d0240d045d

Contents?: true

Size: 323 Bytes

Versions: 8

Compression:

Stored size: 323 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

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

  it { should be(false) }
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
substation-0.0.8 spec/unit/substation/response/failure/success_predicate_spec.rb
substation-0.0.7 spec/unit/substation/response/failure/success_predicate_spec.rb
substation-0.0.6 spec/unit/substation/response/failure/success_predicate_spec.rb
substation-0.0.5 spec/unit/substation/response/failure/success_predicate_spec.rb
substation-0.0.4 spec/unit/substation/response/failure/success_predicate_spec.rb
substation-0.0.3 spec/unit/substation/response/failure/success_predicate_spec.rb
substation-0.0.2 spec/unit/substation/response/failure/success_predicate_spec.rb
substation-0.0.1 spec/unit/substation/response/failure/success_predicate_spec.rb