free_mutant/spec/integration/mutant/zombie_spec.rb

11 lines
267 B
Ruby
Raw Normal View History

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