spec/unit/mutest/ast/meta/send/proc_predicate_spec.rb in mutest-0.0.9 vs spec/unit/mutest/ast/meta/send/proc_predicate_spec.rb in mutest-0.0.10
- old
+ new
@@ -1,9 +1,9 @@
RSpec.describe Mutest::AST::Meta::Send, '#proc?' do
subject { described_class.new(node).proc? }
shared_context 'proc send' do |source|
- let(:node) { Parser::CurrentRuby.parse(source).children.first }
+ let(:node) { Unparser.parse(source).children.first }
end
shared_examples 'proc definition' do |*args|
include_context 'proc send', *args