Sha256: ed8e4fbf3a223542ee8604f8424419ed2b27345c2ae7970b0dd0fe6cbf07ed70

Contents?: true

Size: 305 Bytes

Versions: 8

Compression:

Stored size: 305 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Mutant::Matcher::Chain, '#matchers' do
  subject { object.matchers }

  let(:object)   { described_class.new(matchers) }
  let(:matchers) { double('Matchers')            }

  it { should be(matchers) }

  it_should_behave_like 'an idempotent method'
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mutant-0.3.1 spec/unit/mutant/matcher/chain/matchers_spec.rb
mutant-0.3.0 spec/unit/mutant/matcher/chain/matchers_spec.rb
mutant-0.3.0.rc5 spec/unit/mutant/matcher/chain/matchers_spec.rb
mutant-0.3.0.rc4 spec/unit/mutant/matcher/chain/matchers_spec.rb
mutant-0.3.0.rc3 spec/unit/mutant/matcher/chain/matchers_spec.rb
mutant-0.3.0.rc2 spec/unit/mutant/matcher/chain/matchers_spec.rb
mutant-0.3.0.rc1 spec/unit/mutant/matcher/chain/matchers_spec.rb
mutant-0.3.0.beta22 spec/unit/mutant/matcher/chain/matchers_spec.rb