Skip to content

Commit 8ee753d

Browse files
committed
Copy Active Storage test fixture racecar.jpg into Railties fixtures
This change is specifically to support packaging vendors (Fedora) who test gems in isolation, they don't have the source of the whole Rails checkout available, and the test files are not packaged with the `.gem`s. so this is a comprimise so they can still execute this test in their environment.
1 parent e0452e8 commit 8ee753d

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

railties/test/application/active_storage/uploads_integration_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class UploadsIntegrationTest < ActiveSupport::TestCase
1010
include Rack::Test::Methods
1111
include Rails::Dom::Testing::Assertions
1212

13-
self.file_fixture_path = "#{RAILS_FRAMEWORK_ROOT}/activestorage/test/fixtures/files"
13+
self.file_fixture_path = "test/fixtures/files"
1414

1515
def setup
1616
build_app

railties/test/application/active_storage/validating_service_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class ValidatingServiceTest < ActiveSupport::TestCase
1010
include Rack::Test::Methods
1111
include Rails::Dom::Testing::Assertions
1212

13-
self.file_fixture_path = "#{RAILS_FRAMEWORK_ROOT}/activestorage/test/fixtures/files"
13+
self.file_fixture_path = "test/fixtures/files"
1414

1515
def setup
1616
build_app
1.07 MB
Loading

0 commit comments

Comments
 (0)