Removing tests for deprecated options in active support. The
+use_full_path+ option was removed in 3b3790a4 and passing the template handler to render was deprecated in 43d27e91.
This commit is contained in:
parent
0f93fe3dc7
commit
6ec28f8cc0
@ -29,14 +29,6 @@ def test_render_file
|
||||
assert_equal "Hello world!", @view.render(:file => "test/hello_world")
|
||||
end
|
||||
|
||||
def test_render_file_not_using_full_path
|
||||
assert_equal "Hello world!", @view.render(:file => "test/hello_world")
|
||||
end
|
||||
|
||||
def test_render_file_without_specific_extension
|
||||
assert_equal "Hello world!", @view.render(:file => "test/hello_world")
|
||||
end
|
||||
|
||||
# Test if :formats, :locale etc. options are passed correctly to the resolvers.
|
||||
def test_render_file_with_format
|
||||
assert_match "<h1>No Comment</h1>", @view.render(:file => "comments/empty", :formats => [:html])
|
||||
|
Loading…
Reference in New Issue
Block a user