spec/samovar/command_spec.rb in samovar-2.1.1 vs spec/samovar/command_spec.rb in samovar-2.1.2

- old
+ new

@@ -45,11 +45,11 @@ } end RSpec.describe Samovar::Command do it "should invoke call" do - expect(Top).to receive(:new).and_wrap_original do |original_method, *args, &block| - original_method.call(*args, &block).tap do |instance| + expect(Top).to receive(:new).and_wrap_original do |original_method, *arguments, &block| + original_method.call(*arguments, &block).tap do |instance| expect(instance).to receive(:call) end end Top.call([])