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) }
|
2013-07-14 13:01:30 -04:00
|
|
|
let(:matchers) { double('Matchers') }
|
2012-08-29 08:00:37 -04:00
|
|
|
|
|
|
|
it { should be(matchers) }
|
|
|
|
|
|
|
|
it_should_behave_like 'an idempotent method'
|
|
|
|
end
|