free_mutant/spec/integration/mutant/zombie_spec.rb

7 lines
231 B
Ruby
Raw Normal View History

RSpec.describe 'as a zombie' do
specify 'it allows to create zombie from mutant' do
2014-05-27 11:12:36 -04:00
expect { Mutant.zombify }.to change { defined?(Zombie) }.from(nil).to('constant')
2014-01-19 15:42:21 -05:00
expect(Zombie.constants).to include(:Mutant)
end
end