Sha256: 5972ec2adffa4c6c1a55d68b6dbca62dc2cb7c0b07e864921d33ba31e0952e8c

Contents?: true

Size: 604 Bytes

Versions: 2

Compression:

Stored size: 604 Bytes

Contents

require 'test_helper'
require 'consumer_example'

class ConsumerTestingExampleTest < Minitest::Test
  include Asynk::TestHelper
  def setup
  end

  def test_should_create_wallet_for_with_start_creation_failure
    message = { name: 'Pes', surname: 'Kotovskiy' }
    response = publish_sync 'sample_app.wallet.registration_completed', message
    assert_equal message.to_json, response

    response = publish_sync 'sample_app.logs.warn', message
    assert_equal message.to_json, response

    response = publish_sync 'sample_app.logs.info', message
    assert_equal message.to_json, response

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
asynk-0.0.2 test/consumer_testing_example_test.rb
asynk-0.0.1 test/consumer_testing_example_test.rb