Update code to be simpler

This commit is contained in:
Dan Kubb 2013-07-28 17:45:40 -07:00
parent b6964574cd
commit 47e2827adf

View file

@ -58,9 +58,7 @@ shared_examples_for 'a mutator' do
it { should be_instance_of(to_enum.class) }
let(:expected_mutations) do
mutations.map do |mutation|
Subject.coerce(mutation)
end
mutations.map(&Subject.method(:coerce))
end
let(:generated_mutations) do