spec/support/util.rb in 4me-sdk-1.2.0 vs spec/support/util.rb in 4me-sdk-2.0.0.pre.rc.1
- old
+ new
@@ -1,3 +1,3 @@
def expect_log(text, level = :info, logger = Sdk4me.configuration.logger)
- expect(logger).to receive(level).ordered { |&args| expect(args.call).to eq(text) }
-end
\ No newline at end of file
+ expect(logger).to(receive(level).ordered { |&args| expect(args.call).to eq(text) })
+end