From fc8c45ebe6722a31b583ea1ca8dd09f91979ce13 Mon Sep 17 00:00:00 2001 From: Simon Eskildsen Date: Thu, 29 Aug 2013 21:48:01 -0400 Subject: [PATCH] Fix use of 1.9 hash syntax --- test/liquid/template_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/liquid/template_test.rb b/test/liquid/template_test.rb index 72a1264..5fd4d1e 100644 --- a/test/liquid/template_test.rb +++ b/test/liquid/template_test.rb @@ -152,7 +152,7 @@ class TemplateTest < Test::Unit::TestCase def test_sets_default_localization_in_context_with_quick_initialization t = Template.new - t.parse('{{foo}}', locale: I18n.new(fixture("en_locale.yml"))) + t.parse('{{foo}}', :locale => I18n.new(fixture("en_locale.yml"))) assert_instance_of I18n, t.root.options[:locale] assert_equal fixture("en_locale.yml"), t.root.options[:locale].path