spec/runner_spec.rb in schema_dev-3.2.2 vs spec/runner_spec.rb in schema_dev-3.2.3
- old
+ new
@@ -42,10 +42,10 @@
expect_any_instance_of(SchemaDev::RubySelector::Rbenv).to receive(:`).with("rbenv versions --bare").and_return RUBY_VERSION
end
# mocking execution
original_popen2e = Open3.method(:popen2e)
- allow(Open3).to receive(:popen2e) { |cmd, &block|
+ allow(Open3).to receive(:popen2e) { |cmd, &block|
cmd = case cmd
when /false$/ then "false"
when /true$/ then "true"
else cmd.sub(/.*echo/, "echo")
end