Added explicit module names to the new unit tests.

This commit is contained in:
John Resig 2009-04-20 17:05:18 +00:00
parent 2764127335
commit 4130319e97
4 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,5 @@
module("attributes");
test("attr(String)", function() { test("attr(String)", function() {
expect(27); expect(27);
equals( jQuery('#text1').attr('value'), "Test", 'Check for value attribute' ); equals( jQuery('#text1').attr('value'), "Test", 'Check for value attribute' );

View file

@ -1,3 +1,5 @@
module("css");
test("css(String|Hash)", function() { test("css(String|Hash)", function() {
expect(19); expect(19);

View file

@ -1,3 +1,5 @@
module("manipulation");
test("text()", function() { test("text()", function() {
expect(1); expect(1);
var expected = "This link has class=\"blog\": Simon Willison's Weblog"; var expected = "This link has class=\"blog\": Simon Willison's Weblog";

View file

@ -1,3 +1,5 @@
module("traversing");
test("end()", function() { test("end()", function() {
expect(3); expect(3);
equals( 'Yahoo', jQuery('#yahoo').parent().end().text(), 'Check for end' ); equals( 'Yahoo', jQuery('#yahoo').parent().end().text(), 'Check for end' );