free_mutant/spec/integration/mutant/zombie_spec.rb

6 lines
246 B
Ruby

RSpec.describe 'as a zombie', mutant: false do
specify 'it allows to create zombie from mutant' do
expect { Mutant.zombify }.to change { defined?(Zombie) }.from(nil).to('constant')
expect(Zombie.constants).to include(:Mutant)
end
end