2c6934f146
* Fix code alignment
12 lines
286 B
Ruby
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
|