Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests propshaft #51903

Conversation

lazaronixon
Copy link
Contributor

This PR fixes tests blocking Propshaft from being merged to rails.

@lazaronixon lazaronixon marked this pull request as draft May 23, 2024 23:57
@lazaronixon lazaronixon force-pushed the propshaft-by-default-tests-1 branch 3 times, most recently from f45791c to 6669fc8 Compare May 24, 2024 03:01
@lazaronixon lazaronixon force-pushed the propshaft-by-default-tests-1 branch 4 times, most recently from 659e702 to 91216d9 Compare May 24, 2024 07:49
@@ -156,28 +148,10 @@ class User < ActiveRecord::Base; raise 'should not be reached'; end
assert_no_file_exists("#{app_path}/public/assets/something.else-*.css")
end

test "precompile something.js for directory containing index file" do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious what you're planning to do with the sprockets assets tests

Copy link
Contributor Author

@lazaronixon lazaronixon May 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My idea is to change tests to be compatible with Propshaft and remove those that are not.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should lose the sprockets tests, since we're not deprecating/removing it afaik

@lazaronixon lazaronixon force-pushed the propshaft-by-default-tests-1 branch from 91216d9 to 5ea5d07 Compare May 24, 2024 15:28
@lazaronixon lazaronixon force-pushed the propshaft-by-default-tests-1 branch 2 times, most recently from 000c241 to 069a1b6 Compare May 24, 2024 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants