Method: ConflowSpec::Matchers::RunJob#with_params

Defined in:
lib/conflow_spec/matchers/run_job.rb

#with_params(params) ⇒ Object

Specifies parameters that the job should be run with.

Examples:

expect(flow).to run_job(MyService).with_params(id: 100)

Parameters:

  • params (Hash)

    hash of job params



29
30
31
32
# File 'lib/conflow_spec/matchers/run_job.rb', line 29

def with_params(params)
  @expected_params = params
  self
end