From ad907bce4858b771a0c4026215284237c0bf8a98 Mon Sep 17 00:00:00 2001 From: reeganviljoen Date: Mon, 18 Nov 2024 22:50:23 +0200 Subject: [PATCH] f*** these specs already --- test/sandbox/test/rendering_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sandbox/test/rendering_test.rb b/test/sandbox/test/rendering_test.rb index 2ce3766d0..b3634b2fb 100644 --- a/test/sandbox/test/rendering_test.rb +++ b/test/sandbox/test/rendering_test.rb @@ -15,7 +15,7 @@ def test_render_inline_allocations ViewComponent::CompileCache.cache.delete(MyComponent) MyComponent.ensure_compiled - if Rails.versions.to_f >= 8.0 + if Rails.version.to_f >= 8.0 assert_allocations("3.4.0" => 109, "3.3.6" => 124, "3.3.0" => 127, "3.2.6" => 114, "3.1.6" => 114, "3.0.7" => 123) do render_inline(MyComponent.new) end