Sha256: 4005c92b91f142e4150dfe3ac86cb47424b2aec3565a4e6a1dc8643e9532a3f4

Contents?: true

Size: 302 Bytes

Versions: 2

Compression:

Stored size: 302 Bytes

Contents

require 'spec_helper'

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pushpop-0.1.1 spec/simple_job_spec.rb
pushpop-0.1.0 spec/simple_job_spec.rb