free_mutant/spec/unit/mutant/matcher/chain/matchers_spec.rb
2013-04-17 20:31:21 -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) { mock('Matchers') }
it { should be(matchers) }
it_should_behave_like 'an idempotent method'
end