Sha256: 2588500cb275cb23f2af59b7c0d04aefd974d18be8aae77b2ee8ddffbfcc9ad8

Contents?: true

Size: 488 Bytes

Versions: 13

Compression:

Stored size: 488 Bytes

Contents

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

module LarvaSpawn
  class MediaFileProcessorTest < Minitest::Test
    def test_issue_or_update_badges_called_for_correct_message
      message = { entity: "media_file", action: "processed", media_file_id: 8 }
      LarvaSpawn::MediaFileProcessor.any_instance.expects(:do_one_thing)
      LarvaSpawn::MediaFileProcessor.any_instance.expects(:do_another_thing)
      LarvaSpawn::MediaFileProcessor.process(message)
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
larva-0.9.2 template/test/processors/media_file_processor_test.rb
larva-0.9.1 template/test/processors/media_file_processor_test.rb
larva-0.9.0 template/test/processors/media_file_processor_test.rb
larva-0.8.0 template/test/processors/media_file_processor_test.rb
larva-0.7.3 template/test/processors/media_file_processor_test.rb
larva-0.7.2 template/test/processors/media_file_processor_test.rb
larva-0.7.1 template/test/processors/media_file_processor_test.rb
larva-0.7.0 template/test/processors/media_file_processor_test.rb
larva-0.6.4 template/test/processors/media_file_processor_test.rb
larva-0.6.3 template/test/processors/media_file_processor_test.rb
larva-0.6.2 template/test/processors/media_file_processor_test.rb
larva-0.6.1 template/test/processors/media_file_processor_test.rb
larva-0.6.0 template/test/processors/media_file_processor_test.rb