Skip to content

Commit

Permalink
refer to Mojo::DOM from Test::Mojo
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 2, 2010
1 parent 468f58c commit 84a0a54
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/Mojo/DOM.pm
Expand Up @@ -1090,7 +1090,7 @@ Note that this module is EXPERIMENTAL and might change without warning!
=head2 Selectors
These selectors are currently implemented.
These CSS3 selectors are currently implemented.
=over 4
Expand Down
9 changes: 6 additions & 3 deletions lib/Test/Mojo.pm
Expand Up @@ -401,7 +401,8 @@ Perform a C<DELETE> request.
$t = $t->element_exists('div.foo[x=y]');
$t = $t->element_exists('html head title', 'has a title');
Checks for existence of the CSS3 selectors XML/HTML element.
Checks for existence of the CSS3 selectors XML/HTML element with
L<Mojo::DOM>.
Note that this method is EXPERIMENTAL and might change without warning!
=head2 C<get_ok>
Expand Down Expand Up @@ -497,15 +498,17 @@ Check response status for exact match.
$t = $t->text_is('div.foo[x=y]' => 'Hello!');
$t = $t->text_is('html head title' => 'Hello!', 'right title');
Checks text content of the CSS3 selectors XML/HTML element for exact match.
Checks text content of the CSS3 selectors XML/HTML element for exact match
with L<Mojo::DOM>.
Note that this method is EXPERIMENTAL and might change without warning!
=head2 C<text_like>
$t = $t->text_like('div.foo[x=y]' => qr/Hello/);
$t = $t->text_like('html head title' => qr/Hello/, 'right title');
Checks text content of the CSS3 selectors XML/HTML element for similar match.
Checks text content of the CSS3 selectors XML/HTML element for similar match
with L<Mojo::DOM>.
Note that this method is EXPERIMENTAL and might change without warning!
=head1 SEE ALSO
Expand Down

0 comments on commit 84a0a54

Please sign in to comment.