Sha256: 3cbb4221690995c958791b866a438a9eeadb78ab7f304a261d7509f56783445d

Contents?: true

Size: 674 Bytes

Versions: 13

Compression:

Stored size: 674 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 'ruby-debug'

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

13 entries across 13 versions & 1 rubygems

Version Path
action_smser-2.2.0 test/test_helper.rb
action_smser-2.1.2 test/test_helper.rb
action_smser-2.1.1 test/test_helper.rb
action_smser-2.1.0 test/test_helper.rb
action_smser-2.0.2 test/test_helper.rb
action_smser-2.0.1 test/test_helper.rb
action_smser-2.0.0 test/test_helper.rb
action_smser-1.2.1 test/test_helper.rb
action_smser-1.2.0 test/test_helper.rb
action_smser-1.1.1 test/test_helper.rb
action_smser-1.1.0 test/test_helper.rb
action_smser-1.0.1 test/test_helper.rb
action_smser-1.0.0 test/test_helper.rb