Sha256: bc366a5a2e39bb96fe02146f76cf02816d62d208004ba2049153102774b1b0c2

Contents?: true

Size: 376 Bytes

Versions: 8

Compression:

Stored size: 376 Bytes

Contents

require File.expand_path('../../test_helper', __FILE__)

module LarvaSpawn
  class UserProcessorTest < Minitest::Test
    def test_everything_is_wired_up_correctly
      message = { entity: "user", action: "created", foo: 'bar'}
      LarvaSpawn::UserProcessor.any_instance.expects(:do_something).with('bar')
      LarvaSpawn::UserProcessor.process(message)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
larva-1.3.0 template/test/processors/user_processor_test.rb
larva-1.2.0 template/test/processors/user_processor_test.rb
larva-1.1.3 template/test/processors/user_processor_test.rb
larva-1.1.2 template/test/processors/user_processor_test.rb
larva-1.1.1 template/test/processors/user_processor_test.rb
larva-1.1.0 template/test/processors/user_processor_test.rb
larva-1.0.1 template/test/processors/user_processor_test.rb
larva-1.0.0 template/test/processors/user_processor_test.rb