Sha256: 0dfa19ade59d42617111a3d61d9618fa133c1fe0aa393d49812349e37d278fd5

Contents?: true

Size: 335 Bytes

Versions: 23

Compression:

Stored size: 335 Bytes

Contents

require 'helper'

describe Delayed::Backend::Test::Job do
  it_should_behave_like 'a delayed_job backend'

  describe '#reload' do
    it 'causes the payload object to be reloaded' do
      job = 'foo'.delay.length
      o = job.payload_object
      expect(o.object_id).not_to eq(job.reload.payload_object.object_id)
    end
  end
end

Version data entries

23 entries across 23 versions & 3 rubygems

Version Path
delayed_job-4.1.13 spec/test_backend_spec.rb
delayed_job-4.1.12 spec/test_backend_spec.rb
delayed_job-4.1.12.rc1 spec/test_backend_spec.rb
delayed_job-4.1.11 spec/test_backend_spec.rb
delayed_job-4.1.10 spec/test_backend_spec.rb
delayed_job-4.1.9 spec/test_backend_spec.rb
delayed_job-4.1.8 spec/test_backend_spec.rb
delayed_job-4.1.8.beta1 spec/test_backend_spec.rb
delayed_job-4.1.7 spec/test_backend_spec.rb
delayed_job-4.1.7.beta1 spec/test_backend_spec.rb
delayed_job-4.1.6 spec/test_backend_spec.rb
delayed_job-4.1.6.beta1 spec/test_backend_spec.rb
delayed_job-4.1.5 spec/test_backend_spec.rb
delayed_job-4.1.4 spec/test_backend_spec.rb
delayed_job-4.1.3 spec/test_backend_spec.rb
delayed_job-4.1.2 spec/test_backend_spec.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.1/spec/test_backend_spec.rb
delayed_job-4.1.1 spec/test_backend_spec.rb
delayed_job-4.1.0 spec/test_backend_spec.rb
delayed_job_tgmerritt-4.0.7 spec/test_backend_spec.rb