MakeLinkTest
extends AbstractMakeTagTestCase
in package
MakeLink view helper Test Class
Tags
Table of Contents
- testAttributes() : void
- Test that responds to common inputs
- testLink() : void
- Test that responds to common inputs
- testOptionEscaping() : void
- Test escaping with other plugins
- testOptionProxy() : void
- Test that helper obeys options
- testSpan() : void
- Test that helper returns unescaped text when href is falsey
- getHelper() : EscapeHtml
- Get MakeLink helper with mock view
- getViewWithHelpers() : EscapeHtml
- Get makeTag helper with mock view
Methods
testAttributes()
Test that responds to common inputs
public
testAttributes() : void
Return values
void —testLink()
Test that responds to common inputs
public
testLink() : void
Return values
void —testOptionEscaping()
Test escaping with other plugins
public
testOptionEscaping() : void
Return values
void —testOptionProxy()
Test that helper obeys options
public
testOptionProxy() : void
Return values
void —testSpan()
Test that helper returns unescaped text when href is falsey
public
testSpan() : void
Return values
void —getHelper()
Get MakeLink helper with mock view
protected
getHelper() : EscapeHtml
Return values
EscapeHtml —getViewWithHelpers()
Get makeTag helper with mock view
protected
getViewWithHelpers() : EscapeHtml