free_mutant/spec/unit/mutant/strategy_spec.rb

21 lines
377 B
Ruby
Raw Normal View History

2013-09-13 18:49:04 -04:00
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