test/test_helper.rb in cachetastic-2.1.3 vs test/test_helper.rb in cachetastic-2.1.4
- old
+ new
@@ -1,9 +1,9 @@
require "test/unit"
require File.join(File.dirname(__FILE__), "..", "lib", "cachetastic")
require 'rubygems'
-require 'mack-facets'
+# require 'mack-facets'
require 'active_record'
# place common methods, assertions, and other type things in this file so
# other tests will have access to them.
@@ -43,10 +43,9 @@
end
#---- AR:
AR_DB = File.join(Dir.pwd, "ar_test.db")
-puts "AR_DB: #{AR_DB}"
ActiveRecord::Base.establish_connection({:adapter => "sqlite3", :database => AR_DB})
class ArAlbum < ActiveRecord::Base
def some_numbers(arr)
cacher(:some_numbers) do
\ No newline at end of file