8233c5871f
* New primary interface #call makes specs and implementations much easier * We had #each mostly for historical reasons that are not relevant anymore * Mutation covers the Mutant::Matcher namespace
9 lines
224 B
Ruby
9 lines
224 B
Ruby
RSpec.describe Mutant::Matcher::Null, '#call' do
|
|
let(:object) { described_class.new }
|
|
let(:env) { instance_double(Mutant::Env) }
|
|
subject { object.call(env) }
|
|
|
|
it 'returns no subjects' do
|
|
should eql([])
|
|
end
|
|
end
|