1..44 # url_for() ok 1 - url_for() converts an internal URI to a web URI ok 2 - url_for() can take an absolute boolean as its second argument ok 3 - url_for() can take an absolute boolean as its second argument # link_to() ok 4 - link_to() returns an HTML a tag ok 5 - link_to() can take an absolute option ok 6 - link_to() can take an absolute option ok 7 - link_to() can take a query_string option ok 8 - link_to() can take an anchor option ok 9 - link_to() takes the url as the link name if the first argument is empty ok 10 - link_to() includes CSRF token from BaseForm # button_to() ok 11 - button_to() returns an HTML input tag ok 12 - button_to() returns an HTML input tag ok 13 - button_to() returns an HTML input tag ok 14 - button_to() returns an HTML input tag ok 15 - button_to() accepts options as string ok 16 - button_to() works with confirm option ok 17 - button_to() works with confirm and popup option ok 18 - button_to() includes CSRF token from BaseForm ok 19 - link_to() can take an object as its first argument if __toString() method is defined ok 20 - link_to() can take an object as its first argument # link_to_if() ok 21 - link_to_if() returns an HTML a tag if the condition is true ok 22 - link_to_if() returns an HTML span tag by default if the condition is false ok 23 - link_to_if() takes a tag option ok 24 - link_to_if() removes tag option (given as string) in true case ok 25 - link_to_if() removes tag option (given as array) in true case ok 26 - link_to_if() returns an HTML span tag by default if the condition is false ok 27 - link_to_if() accepts link_to2 compatible usage ok 28 - link_to_if() accepts link_to2 compatible usage # link_to_unless() ok 29 - link_to_unless() returns an HTML a tag if the condition is false ok 30 - link_to_unless() returns an HTML span tag by default if the condition is true ok 31 - link_to_unless() accepts link_to2 compatible usage ok 32 - link_to_unless() accepts link_to2 compatible usage # public_path() ok 33 - public_path() returns the public path ok 34 - public_path() returns the public path if starting with slash ok 35 - public_path() returns the public path # mail_to() ok 36 - mail_to() creates a mailto a tag ok 37 - mail_to() creates a mailto a tag ok 38 - mail_to() can encode the email address # mail_to test ok 39 - mail_to with only given email works ok 40 - mail_to with given email and title works ok 41 - mail_to with encoding works ok 42 - mail_to() works with given default values in array form ok 43 - mail_to() works with given default values in string form ok 44 - mail_to() works with given default value with spaces # Looks like everything went fine.