Sha256: a45f095e99ff9e07c6797ce626a3533cf2ccf7228792d8cdd99a8530568dc52a
Contents?: true
Size: 635 Bytes
Versions: 5
Compression:
Stored size: 635 Bytes
Contents
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__)+'./../lib')) ENV['RAILS_ENV'] = 'test' if ENV['COVERAGE'] require "simplecov" SimpleCov.start do add_filter '/test/' end SimpleCov.at_exit do SimpleCov.result.format! `open ./coverage/index.html` if RUBY_PLATFORM =~ /darwin/ end end require 'minitest/autorun' require 'fakeweb' require 'rails/all' require 'acts_as_textcaptcha' require './test/test_models' # load and initialize test db schema ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :database => 'acts_as_textcaptcha.sqlite3.db') load(File.dirname(__FILE__) + "/schema.rb")
Version data entries
5 entries across 5 versions & 1 rubygems