Skip to content

Commit

Permalink
Removing tests for deprecated options in active support. The
Browse files Browse the repository at this point in the history
+use_full_path+ option was removed in 3b3790a and passing the template
handler to render was deprecated in 43d27e9.
  • Loading branch information
wangjohn committed Apr 21, 2013
1 parent 0f93fe3 commit 6ec28f8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions actionpack/test/template/render_test.rb
Expand Up @@ -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])
Expand Down

0 comments on commit 6ec28f8

Please sign in to comment.