mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Improvements from Rails plugin template
This commit is contained in:
@@ -32,3 +32,14 @@ ActionController::TestCase.class_eval do
|
||||
key.nil? ? assigns : assigns[key]
|
||||
end
|
||||
end
|
||||
|
||||
# ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
|
||||
# ActiveRecord::Migrator.migrations_paths << File.expand_path('../../db/migrate', __FILE__)
|
||||
#
|
||||
# Load fixtures from the engine
|
||||
# if ActiveSupport::TestCase.respond_to?(:fixture_path=)
|
||||
# ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
||||
# ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
|
||||
# ActiveSupport::TestCase.file_fixture_path = ActiveSupport::TestCase.fixture_path + "/files"
|
||||
# ActiveSupport::TestCase.fixtures :all
|
||||
# end
|
||||
|
||||
Reference in New Issue
Block a user