Skip to content

Commit 9acf9b7

Browse files
committed
Delete render file tests
These tests are now failing because of changes made in rails/rails#35688. This causes the instrumentation for `@_files` to not get run, but also don't think this should be supported since that instrumentation is for templates and now files are just rendered as files not as templates.
1 parent 54f2240 commit 9acf9b7

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

test/controllers/template_assertions_test.rb

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ def test_with_partial
1212
assert_template partial: '_partial'
1313
end
1414

15-
def test_file_with_absolute_path_success
16-
get :render_file_absolute_path
17-
assert_template file: File.expand_path('../../dummy/README.rdoc', __FILE__)
18-
end
19-
2015
def test_file_with_relative_path_success
2116
get :render_file_relative_path
2217
assert_template file: 'README.rdoc'
@@ -28,12 +23,6 @@ def test_with_file_failure
2823
assert_raise(ActiveSupport::TestCase::Assertion) do
2924
assert_template :file => 'test/hello_world'
3025
end
31-
32-
get :render_file_absolute_path
33-
34-
assert_raise(ActiveSupport::TestCase::Assertion) do
35-
assert_template file: nil
36-
end
3726
end
3827

3928
def test_with_nil_passes_when_no_template_rendered

0 commit comments

Comments
 (0)