2013-07-28 19:03:06 -04:00
|
|
|
# encoding: utf-8
|
|
|
|
|
2012-08-19 15:29:11 -04:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe Mutant, 'as a zombie' do
|
2014-04-04 10:14:24 -04:00
|
|
|
specify 'it allows to create zombie from mutant' do
|
|
|
|
expect { Mutant.zombify }.to change { !!defined?(Zombie) }.from(false).to(true)
|
2014-01-19 15:42:21 -05:00
|
|
|
expect(Zombie.constants).to include(:Mutant)
|
2012-08-19 15:29:11 -04:00
|
|
|
end
|
|
|
|
end
|