From 91399198943f350b3194042d2481a59128862476 Mon Sep 17 00:00:00 2001
From: Joel Drapper <joel@drapper.me>
Date: Tue, 26 Nov 2024 14:32:13 +0000
Subject: [PATCH] Update kit.test.rb

---
 quickdraw/kit.test.rb | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/quickdraw/kit.test.rb b/quickdraw/kit.test.rb
index 0cf5ae79..c707b567 100644
--- a/quickdraw/kit.test.rb
+++ b/quickdraw/kit.test.rb
@@ -11,16 +11,12 @@ def view_template
 	end
 end
 
-# This feature is only supported in Ruby 3.2 or later.
-if Phlex::SUPPORTS_FIBER_STORAGE
-	# this test is flaky
-	test "raises when you try to render a component outside of a rendering context" do
-		expect { Components::SayHi("Joel") }.to_raise(RuntimeError) do |error|
-			expect(error.message) == "You can't call `SayHi' outside of a Phlex rendering context."
-		end
+test "raises when you try to render a component outside of a rendering context" do
+	expect { Components::SayHi("Joel") }.to_raise(RuntimeError) do |error|
+		expect(error.message) == "You can't call `SayHi' outside of a Phlex rendering context."
 	end
+end
 
-	test "defines methods for its components" do
-		expect(Example.new.call) == %(<article><h1>Hi Joel</h1><h1>Hi Joel</h1>Inside</article><article><h1>Hi Will</h1>Inside</article>)
-	end
+test "defines methods for its components" do
+	expect(Example.new.call) == %(<article><h1>Hi Joel</h1><h1>Hi Joel</h1>Inside</article><article><h1>Hi Will</h1>Inside</article>)
 end