#!/usr/bin/env perl -w use strict; use Test::More tests => 3; use Railsish::ViewHelpers; { my $html = link_to("Dashboard", "/dashboard", class => "nav"); is($html, qq{Dashboard}); } { my $html = link_to("<>!", "/dashboard", class => "nav"); is($html, qq{<>!}); } { my $html = link_to("<>!", "/dashboard", class => "<>!"); is($html, qq{<>!}); }