Skip to content

Commit 8f45ac8

Browse files
committed
fix failing rails 6 specs
1 parent a0c74eb commit 8f45ac8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/sandbox/test/rendering_test.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1323,6 +1323,8 @@ def test_around_render
13231323
end
13241324

13251325
def test_cache_component
1326+
return if Rails.version < "7.0"
1327+
13261328
component = CacheComponent.new(foo: "foo", bar: "bar")
13271329
render_inline(component)
13281330

@@ -1341,6 +1343,8 @@ def test_cache_component
13411343
end
13421344

13431345
def test_no_cache_compoennt
1346+
return if Rails.version < "7.0"
1347+
13441348
component = NoCacheComponent.new(foo: "foo", bar: "bar")
13451349
render_inline(component)
13461350

0 commit comments

Comments
 (0)