test/test_helper.rb in cachers-4.0.0.0 vs test/test_helper.rb in cachers-4.1.0.0
- old
+ new
@@ -9,5 +9,12 @@
# to be shown.
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
+
+# Add client shortcut.
+class ActiveSupport::TestCase
+ def client
+ Cachers.client
+ end
+end