Fixing jruby-specific spec failure
to workaround JRuby bug we will not use to_yaml() for Hash with ERB