free_mutant/spec/unit/mutant/matcher/chain/matchers_spec.rb

13 lines
286 B
Ruby
Raw Normal View History

2012-08-29 08:00:37 -04:00
require 'spec_helper'
describe Mutant::Matcher::Chain, '#matchers' do
subject { object.matchers }
let(:object) { described_class.new(matchers) }
let(:matchers) { double('Matchers') }
2012-08-29 08:00:37 -04:00
it { should be(matchers) }
it_should_behave_like 'an idempotent method'
end