Sha256: 16013c0c70c0d3f77b90f1d2a9232f4405749c8f7d74232b124fea87b16e701d
Contents?: true
Size: 764 Bytes
Versions: 3
Compression:
Stored size: 764 Bytes
Contents
# -*- encoding : utf-8 -*- require 'simplecov' SimpleCov.start do add_filter "/test/" add_filter "/config/" add_filter "database" add_group 'Lib', 'lib/' end require 'rubygems' require 'bundler' begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end require 'test/unit' require 'mocha' require 'turn' require 'shoulda-context' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'redis-model-extension' require File.expand_path(File.join(File.dirname(__FILE__),'models.rb')) #clear database connection RedisModelExtension::Database.redis = nil
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
redis-model-extension-0.4.2 | test/helper.rb |
redis-model-extension-0.4.1 | test/helper.rb |
redis-model-extension-0.4.0 | test/helper.rb |