Skip to content

Commit

Permalink
Skip Turbo test on Rails < 6
Browse files Browse the repository at this point in the history
  • Loading branch information
boardfish committed Jan 3, 2022
1 parent b03bd74 commit 61cd18c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/view_component/integration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ def test_does_not_render_additional_newline_with_render_in
end

def test_render_component_in_turbo_stream
skip unless Rails::VERSION::MAJOR >= 6
without_template_annotations do
get turbo_stream_path, headers: { "HTTP_ACCEPT" => "text/vnd.turbo-stream.html" }
assert_equal <<~TURBOSTREAM, response.body
Expand Down

0 comments on commit 61cd18c

Please sign in to comment.