Sha256: 80a3c8589b446b067f11f7456234cc0e40db855c82f3afaa01d21b8b1bc0c016

Contents?: true

Size: 307 Bytes

Versions: 6

Compression:

Stored size: 307 Bytes

Contents

require 'spec_helper'

describe 'run a job end to end' do
  it 'runs and return template contents' do
    require File.expand_path('../jobs/simple_job', __FILE__)
    expect(Pushpop.jobs.length).to eq(1)
    expect(Pushpop.jobs.first.run).to eq([30, { "return 10" => 10, "increase by 20" => 30}])
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pushpop-0.4.0 spec/simple_job_spec.rb
pushpop-0.3.3 spec/simple_job_spec.rb
pushpop-0.3.2 spec/simple_job_spec.rb
pushpop-0.3.1 spec/simple_job_spec.rb
pushpop-0.2 spec/simple_job_spec.rb
pushpop-0.1.2 spec/simple_job_spec.rb