Sha256: bb92b171b74e3e39cf30e4343c5590b06cf2074e5acd9a9ac07ca4bd3d85df3d
Contents?: true
Size: 390 Bytes
Versions: 10
Compression:
Stored size: 390 Bytes
Contents
require 'test_helper' class RenderCanonicalClass < ActionView::TestCase test 'simple' do assert_equal render_canonical, '' end test '@canonical' do @canonical = '@canonical' assert_equal render_canonical, '<link rel="canonical" href="@canonical" />' [' ', '', nil].each do |desc| @canonical = desc assert_equal render_canonical, '' end end end
Version data entries
10 entries across 10 versions & 1 rubygems