6df5811a87
* I dislike the global infection RSpec does. This commit is a first step to get a rid of it. * Also remove the need for `require 'spec_helper` in each spec file with adjusting `.rspec`.
6 lines
231 B
Ruby
6 lines
231 B
Ruby
RSpec.describe 'as a zombie' 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
|