diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-29 23:20:31 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-29 23:20:31 -0500 |
| commit | ece62b9eb3e2f3995715c32608f1de91d98a22be (patch) | |
| tree | 2322ac861fe821362a893870d5b2c441132f2204 /rails/test/test_helper.rb | |
| parent | 83437f5895fd4f110694e66c9d939ff492bc2e1b (diff) | |
| download | lingo-ece62b9eb3e2f3995715c32608f1de91d98a22be.tar.gz lingo-ece62b9eb3e2f3995715c32608f1de91d98a22be.tar.bz2 lingo-ece62b9eb3e2f3995715c32608f1de91d98a22be.zip | |
Rails engine no longer needed
Diffstat (limited to 'rails/test/test_helper.rb')
| -rw-r--r-- | rails/test/test_helper.rb | 15 |
1 files changed, 0 insertions, 15 deletions
| diff --git a/rails/test/test_helper.rb b/rails/test/test_helper.rb deleted file mode 100644 index 7230d9c..0000000 --- a/rails/test/test_helper.rb +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | # Configure Rails Environment | ||
| 2 | ENV["RAILS_ENV"] = "test" | ||
| 3 | |||
| 4 | require_relative "../test/dummy/config/environment" | ||
| 5 | ActiveRecord::Migrator.migrations_paths = [File.expand_path("../test/dummy/db/migrate", __dir__)] | ||
| 6 | ActiveRecord::Migrator.migrations_paths << File.expand_path("../db/migrate", __dir__) | ||
| 7 | require "rails/test_help" | ||
| 8 | |||
| 9 | # Load fixtures from the engine | ||
| 10 | if ActiveSupport::TestCase.respond_to?(:fixture_path=) | ||
| 11 | ActiveSupport::TestCase.fixture_path = File.expand_path("fixtures", __dir__) | ||
| 12 | ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path | ||
| 13 | ActiveSupport::TestCase.file_fixture_path = ActiveSupport::TestCase.fixture_path + "/files" | ||
| 14 | ActiveSupport::TestCase.fixtures :all | ||
| 15 | end | ||
