Sha256: bd6f7445c4e6055863d88a0eee264d8b77e808333e6a2767eea1d6c281069ed1
Contents?: true
Size: 736 Bytes
Versions: 2
Compression:
Stored size: 736 Bytes
Contents
# encoding: utf-8 # Configure Rails Environment ENV["RAILS_ENV"] = "test" require File.expand_path("../dummy/config/environment.rb", __FILE__) require "rails/test_help" # require "minitest/autorun" require 'minitest/mock' require 'mocha/minitest' Rails.backtrace_cleaner.remove_silencers! # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } #ActiveRecord::Base.establish_connection :adapter => 'sqlite3', :database => ':memory:' # #silence_stream(STDOUT) do # ActiveRecord::Migrator.migrate File.expand_path('../../db/migrate/', __FILE__) #end #def drop_all_tables # ActiveRecord::Base.connection.tables.each do |table| # ActiveRecord::Base.connection.drop_table(table) # end #end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
action_smser-3.4.1 | test/test_helper.rb |
action_smser-3.4.0 | test/test_helper.rb |