test/helper_test.rb in vite_rails-1.0.10 vs test/helper_test.rb in vite_rails-1.0.11
- old
+ new
@@ -20,10 +20,10 @@
end
def test_vite_client_tag
assert_nil vite_client_tag
with_dev_server_running {
- assert_equal '<script src="/@vite/client" type="module"></script>', vite_client_tag
+ assert_equal '<script src="/vite-production/@vite/client" type="module"></script>', vite_client_tag
}
end
def test_vite_asset_path
assert_equal '/vite-production/assets/colored.1173bfe0.js', vite_asset_path('colored.js')