Sha256: ce87d27b46d0fcd7d760100f712d2aedd060597f6ba77e3d7162812214468e33

Contents?: true

Size: 322 Bytes

Versions: 8

Compression:

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

  it { should be(true) }
end

Version data entries

8 entries across 8 versions & 1 rubygems

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