1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove duplicated test

We have a test with the same name in this file, so this test doesn't
run.
This commit is contained in:
Rafael Mendonça França 2021-08-05 10:59:30 -04:00
parent 65bbfa9519
commit d4d14a34a1
No known key found for this signature in database
GPG key ID: FC23B6D0F1EEE948

View file

@ -210,15 +210,6 @@ class RipperTrackerTest < Minitest::Test
assert_equal ["single/\#{quote}"], tracker.dependencies
end
def test_dependencies_skip_commented_out_renders
template = FakeTemplate.new(%{
<%# render "double/#{quote}" %>
}, :erb)
tracker = make_tracker("interpolation/_string", template)
assert_equal [], tracker.dependencies
end
def test_dependencies_skip_unknown_options
template = FakeTemplate.new(%{
<%= render partial: "unknown_render_call", unknown_render_option: "yes" %>