Add spec for some strategy methods
This commit is contained in:
parent
c121e8b400
commit
7b002a91ee
1 changed files with 21 additions and 0 deletions
21
spec/unit/mutant/strategy_spec.rb
Normal file
21
spec/unit/mutant/strategy_spec.rb
Normal 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
|
||||
|
Loading…
Reference in a new issue