Sha256: 6cb7e9568a47f1b9d9d41e8b4be443323890d9870efb749d9de5f3d1e4cd3488

Contents?: true

Size: 160 Bytes

Versions: 5

Compression:

Stored size: 160 Bytes

Contents

def expect_log(text, level = :info, logger = Itrp.configuration.logger)
  expect(logger).to receive(level).ordered { |&args| expect(args.call).to eq(text) }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
itrp-client-1.1.5 spec/support/util.rb
itrp-client-1.1.4 spec/support/util.rb
itrp-client-1.1.2 spec/support/util.rb
itrp-client-1.1.1 spec/support/util.rb
itrp-client-1.1.0 spec/support/util.rb