Oh is rails following that now? Sorry force of habit from RSpec, were still
supporting 1.8.7 :/

On Friday, 6 December 2013, Paul Nikitochkin wrote:

> In actionpack/test/template/resolver_patterns_test.rb:
>
> > @@ -28,4 +28,11 @@ def test_should_return_all_templates_when_ambiguous_pattern
> >      assert_equal "Hello custom patterns!", templates[1].source
> >      assert_equal "custom_pattern/another", templates[1].virtual_path
> >    end
> > +
> > +  def test_should_return_different_templates_per_format_when_cached
> > +    html_templates = @resolver.find_all("another", "custom_pattern", false, {:locale => [], :formats => [:html], :handlers => [:erb]}, :cache_key)
> > +    xml_templates  = @resolver.find_all("another", "custom_pattern", false, {:locale => [], :formats => [:xml],  :handlers => [:erb]}, :cache_key)
>
> Will be great to see 1.9 hash style (
> http://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#follow-the-coding-conventions
> )
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/rails/rails/pull/13208/files#r8155993>
> .
>