Add spec for some strategy methods

This commit is contained in:
Markus Schirp 2013-09-14 00:49:04 +02:00
parent c121e8b400
commit 7b002a91ee

View file

@ -0,0 +1,21 @@
require 'spec_helper'
describe Mutant::Strategy do
let(:class_under_test) do
Class.new(described_class)
end
let(:object) { class_under_test.new }
describe '#teardown' do
subject { object.teardown }
it_should_behave_like 'a command method'
end
describe '#setup' do
subject { object.setup }
it_should_behave_like 'a command method'
end
end