Sha256: 4d0c1096ed76d64668d99205f87a031ca6a413f28963549f858e393a8bb082c4
Contents?: true
Size: 673 Bytes
Versions: 18
Compression:
Stored size: 673 Bytes
Contents
require 'spec_helper' describe Mutant::Mutator, 'super' do context 'with no arguments' do let(:source) { 'super' } it_should_behave_like 'a noop mutator' end context 'with explicit empty arguments' do let(:source) { 'super()' } let(:mutations) do mutations = [] mutations << 'super' end it_should_behave_like 'a mutator' end context 'super with arguments' do let(:source) { 'super(foo, bar)' } let(:mutations) do mutations = [] mutations << 'super' mutations << 'super()' mutations << 'super(foo)' mutations << 'super(bar)' end it_should_behave_like 'a mutator' end end
Version data entries
18 entries across 18 versions & 1 rubygems