Sha256: dbab368ed659506588b3180833f3d5a16c614f5424398bc2fd38e149e0f8cfc0
Contents?: true
Size: 703 Bytes
Versions: 4
Compression:
Stored size: 703 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/mock' require "mocha/setup" 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
action_smser-3.2.0 | test/test_helper.rb |
action_smser-3.1.2 | test/test_helper.rb |
action_smser-3.1.1 | test/test_helper.rb |
action_smser-3.1.0 | test/test_helper.rb |