Sha256: c5543f5402351c3bc68c131579d7234fa16e763c16c6834a8593497fe8d2c589
Contents?: true
Size: 589 Bytes
Versions: 3
Compression:
Stored size: 589 Bytes
Contents
require "test_helper" module Devise describe "Async" do after do Async.backend = :resque end it "yields self when setup is called" do Async.setup { |config| config.must_equal Async } end it "stores backend config" do Async.backend = :something Async.backend.must_equal :something end it "stores enabled config" do Async.backend = false Async.backend.must_equal false end it "stores priority config" do Async.priority = 15 Async.priority.must_equal 15 Async.priority = nil end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
devise-async-0.10.2 | test/devise/async_test.rb |
devise-async-0.10.1 | test/devise/async_test.rb |
devise-async-0.10.1.alpha | test/devise/async_test.rb |