Sha256: 3aaa3bca0b1f872cb485cad8af07ec9d25e2b4fa7f76137cafcbee563bc28f0a

Contents?: true

Size: 301 Bytes

Versions: 6

Compression:

Stored size: 301 Bytes

Contents

require 'test_helper'
require 'minitest/mock'

require 'resque/failure/base'

class TestFailure < Resque::Failure::Base
end

describe "Base failure class" do
  it "allows calling all without throwing" do
    with_failure_backend TestFailure do
      assert_empty Resque::Failure.all
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
resque-1.25.2 test/failure_base_test.rb
resque-1.26.pre.0 test/failure_base_test.rb
resque_signal_from_child-1.25.1 test/failure_base_test.rb
resque-1.25.1 test/failure_base_test.rb
resque-1.25.0 test/failure_base_test.rb
resque-1.25.0.pre test/failure_base_test.rb