Sha256: 41db8d27663ac34f05b13ec9cc98a4082507f91a6f1479b50b129fce906aa02a

Contents?: true

Size: 324 Bytes

Versions: 16

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

ENV['RAILS_ENV'] = 'test'
require File.expand_path('../test/dummy/config/environment.rb', __dir__)
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

16 entries across 16 versions & 1 rubygems

Version Path
eac_rails_utils-0.13.0 test/test_helper.rb
eac_rails_utils-0.12.3 test/test_helper.rb
eac_rails_utils-0.12.2 test/test_helper.rb
eac_rails_utils-0.12.1 test/test_helper.rb
eac_rails_utils-0.12.0 test/test_helper.rb
eac_rails_utils-0.11.6 test/test_helper.rb
eac_rails_utils-0.11.5 test/test_helper.rb
eac_rails_utils-0.11.4 test/test_helper.rb
eac_rails_utils-0.11.3 test/test_helper.rb
eac_rails_utils-0.11.2 test/test_helper.rb
eac_rails_utils-0.11.1 test/test_helper.rb
eac_rails_utils-0.11.0 test/test_helper.rb
eac_rails_utils-0.10.1 test/test_helper.rb
eac_rails_utils-0.10.0 test/test_helper.rb
eac_rails_utils-0.9.1 test/test_helper.rb
eac_rails_utils-0.9.0 test/test_helper.rb