free_mutant/spec/unit/mutant/matcher/chain/matchers_spec.rb
Dan Kubb 2c6934f146 Change deprecated mock() to double()
* Fix code alignment
2013-07-14 10:01:30 -07:00

12 lines
286 B
Ruby

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