Sha256: 8c99b2595a6a8fcc2d999da809174bd79f41c101a1ff15803f13826837f2f498
Contents?: true
Size: 523 Bytes
Versions: 29
Compression:
Stored size: 523 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Mutant::Mutator, 'return' do context 'return without value' do let(:source) { 'return' } let(:mutations) do mutations = [] mutations << 'nil' end it_should_behave_like 'a mutator' end context 'return with value' do let(:source) { 'return foo' } let(:mutations) do mutations = [] mutations << 'foo' mutations << 'return nil' mutations << 'nil' end it_should_behave_like 'a mutator' end end
Version data entries
29 entries across 29 versions & 1 rubygems