Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

test helper passes along failure message

  • Loading branch information...
commit 18753a3c3656aae0e678a7c51324f1de86c24f69 1 parent 056fad0
@whatcould authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/liquid/strainer.rb
  2. +1 −1  test/helper.rb
View
2  lib/liquid/strainer.rb
@@ -9,7 +9,7 @@ module Liquid
end
# Strainer is the parent class for the filters system.
- # New filters are mixed into the strainer class which is then instanciated for each liquid template render run.
+ # New filters are mixed into the strainer class which is then instantiated for each liquid template render run.
#
# One of the strainer's responsibilities is to keep malicious method calls out
class Strainer < parent_object #:nodoc:
View
2  test/helper.rb
@@ -13,7 +13,7 @@ module Unit
module Assertions
include Liquid
def assert_template_result(expected, template, assigns={}, message=nil)
- assert_equal expected, Template.parse(template).render(assigns)
+ assert_equal expected, Template.parse(template).render(assigns), message
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.