Sha256: c4f5f2fcb275921fff5240386b8150cf606637392a8c607e19e4220ad37e7f43
Contents?: true
Size: 361 Bytes
Versions: 7
Compression:
Stored size: 361 Bytes
Contents
# encoding: utf-8 require 'minitest_helper' require 'say_when/processor/simple_strategy' describe SayWhen::Processor::SimpleStrategy do let(:processor) { SayWhen::Processor::SimpleStrategy } it 'process a job by sending a message' do job = Minitest::Mock.new job.expect(:execute, 'done!') processor.process(job).must_equal 'done!' end end
Version data entries
7 entries across 7 versions & 1 rubygems