
* rubocop still warns about this on ruby 1.9.3, so it was fixed so it produces less output on travis.
14 lines
305 B
Ruby
14 lines
305 B
Ruby
# encoding: utf-8
|
|
|
|
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
|