test/devise/async_test.rb in devise-async-0.6.0 vs test/devise/async_test.rb in devise-async-0.7.0
- old
+ new
@@ -9,9 +9,14 @@
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
+
after do
Async.backend = :resque
end
end
end