Sha256: 5101aa78c2928fe140828ea20e1a20be98086f129728b812338ae9cf1684d2d3

Contents?: true

Size: 297 Bytes

Versions: 17

Compression:

Stored size: 297 Bytes

Contents

ENV['RAILS_ENV'] = 'test'
require File.expand_path('../../test/dummy/config/environment.rb', __FILE__)
require 'rails/test_help'

module ActiveSupport
  class TestCase
    def reset_test_database
      ActiveRecord::Tasks::DatabaseTasks.load_schema_current(:ruby, ENV['SCHEMA'])
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
eac_rails_utils-0.8.0 test/test_helper.rb
eac_rails_utils-0.7.1 test/test_helper.rb
eac_rails_utils-0.7.0 test/test_helper.rb
eac_rails_utils-0.6.0 test/test_helper.rb
eac_rails_utils-0.5.0 test/test_helper.rb
eac_rails_utils-0.4.0 test/test_helper.rb
eac_rails_utils-0.3.0 test/test_helper.rb
eac_rails_utils-0.2.2 test/test_helper.rb
eac_rails_utils-0.2.1 test/test_helper.rb
eac_rails_utils-0.2.0 test/test_helper.rb
eac_rails_utils-0.1.15 test/test_helper.rb
eac_rails_utils-0.1.14 test/test_helper.rb
eac_rails_utils-0.1.13 test/test_helper.rb
eac_rails_utils-0.1.12 test/test_helper.rb
eac_rails_utils-0.1.11 test/test_helper.rb
eac_rails_utils-0.1.10 test/test_helper.rb
eac_rails_utils-0.0.1 test/test_helper.rb