Sha256: a5f761f06cf4ee8379abb11f8dff855ed479897acc97fb21d12eb0e7a6567c16
Contents?: true
Size: 441 Bytes
Versions: 13
Compression:
Stored size: 441 Bytes
Contents
require 'spec_helper' describe Delayed::Worker do describe "backend=" do before do @clazz = Class.new Delayed::Worker.backend = @clazz end it "should set the Delayed::Job constant to the backend" do Delayed::Job.should == @clazz end it "should set backend with a symbol" do Delayed::Worker.backend = :test Delayed::Worker.backend.should == Delayed::Backend::Test::Job end end end
Version data entries
13 entries across 13 versions & 3 rubygems