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

15 lines
305 B
Ruby
Raw Normal View History

# encoding: utf-8
2012-08-29 14:00:37 +02: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 14:00:37 +02:00
it { should be(matchers) }
it_should_behave_like 'an idempotent method'
end