Skip to content

Commit

Permalink
Correct grammar in test titles
Browse files Browse the repository at this point in the history
  • Loading branch information
jugglinmike committed May 28, 2015
1 parent feaf17f commit 45a03e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/api/manipulation.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('$(...)', function() {
});

describe('.wrap', function() {
it('(elem) : should insert the element and add selected element(s) as it\'s child', function() {
it('(elem) : should insert the element and add selected element(s) as its child', function() {
var $redFruits = $('<div class="red-fruits"></div>');
$('.apple').wrap($redFruits);

Expand All @@ -23,15 +23,15 @@ describe('$(...)', function() {
expect($redFruits.children()).to.have.length(1);
});

it.skip('(elem) : should insert the element and add selected element(s) as it\'s child and should accept html', function() {
it.skip('(elem) : should insert the element and add selected element(s) as its child and should accept html', function() {
$('.apple').wrap('<div class="red-fruits"> </div>');
expect($fruits.children().eq(0).hasClass('red-fruits')).to.be.ok();
expect($('.red-fruits').children().eq(0).hasClass('apple')).to.be.ok();
expect($fruits.children().eq(1).hasClass('orange')).to.be.ok();
expect($('.red-fruits').children()).to.have.length(1);
});

it('($(...)) : for each element it should add a wrapper elment and add the selected element as it\'s child', function() {
it('($(...)) : for each element it should add a wrapper elment and add the selected element as its child', function() {
var $fruitDecorator = $('<div class="fruit-decorator"></div>');
$('li').wrap($fruitDecorator);
expect($fruits.children().eq(0).hasClass('fruit-decorator')).to.be.ok();
Expand Down

0 comments on commit 45a03e5

Please sign in to comment.