describe('Array', function(){
  describe('#indexOf()', function(){
    it('should return -1 when the value is not present', function(){
      array = [1, 2, 3];
      expect(array.indexOf(5)).to.equal(-1);
      expect(array.indexOf(0)).to.equal(-1);
    });
  });
});

// font size * line height + top/bottom padding + top/bottom border
// (16 * 1.4) + (6 * 2) + 2

function getLineHeight(textarea) {
  return parseInt(textarea.css('line-height'));
}

function spacingHeight(textarea) {
  return parseInt(textarea.css('paddingBottom')) +
    parseInt(textarea.css('paddingTop')) + 
    parseInt(textarea.css('borderBottomWidth')) + 
    parseInt(textarea.css('borderTopWidth'));
}

describe("DOM Tests", function () {
  var el, myEl;
  
  before(function(){
    el = document.createElement("div");
    el.id = "myDiv";
    el.innerHTML = "Hi there!";
    el.style.background = "#ccc";
    document.body.appendChild(el);
    
    myEl = document.getElementById('myDiv');
  });

  it('has a rendered height of one line with no text', function() {
    var textarea = $("#js-single-line-textarea").textareaAutoSize();
    
    expect(textarea.val()).to.equal('');
    expect(textarea.outerHeight()).to.equal(36);
  });

  it('has a rendered height of 2 lines when large enough text entered', function() {
    var textarea = $("#js-single-line-textarea").textareaAutoSize();
    textarea.val('this is a test with a really long entry').trigger('input');
    
    expect(textarea.outerHeight()).to.equal(58);
  });

  it('resizes to one line when deleting all text', function() {
    var textarea = $("#js-single-line-textarea").textareaAutoSize();
    textarea.val('').trigger('input');
    
    expect(textarea.outerHeight()).to.equal(36);
    expect(textarea.val()).to.equal('');
  });

  it("is in the DOM", function () {
    expect(myEl).to.not.equal(null);
  });

  it("is a child of the body", function () {
    expect(myEl.parentElement).to.equal(document.body);
  });

  it("has the right text", function () {
    expect(myEl.innerHTML).to.equal("Hi there!");
  });

  it("has the right background", function () {
    expect(myEl.style.background).to.equal("rgb(204, 204, 204)");
  });
});

@@ -1,274 +1,4 @@
-describe('Array', function()%7B%0A  describe('#indexOf()', function()%7B%0A    it('should return -1 when the value is not present', function()%7B%0A      array = %5B1, 2, 3%5D;%0A      expect(array.indexOf(5)).to.equal(-1);%0A      expect(array.indexOf(0)).to.equal(-1);%0A    %7D);%0A  %7D);%0A%7D);%0A%0A
 // f
@@ -420,17 +420,16 @@
 be(%22
-DOM Tests
+TextArea
 %22, f
@@ -451,16 +451,16 @@
 var 
-el, myEl
+textarea
 ;%0A  
@@ -489,213 +489,66 @@
     
-el = document.createElement(%22div%22);%0A    el.id = %22myDiv%22;%0A    el.innerHTML = %22Hi there!%22;%0A    el.style.background = %22#ccc%22;%0A    document.body.appendChild(el);%0A    %0A    myEl = document.getElementById('myDiv'
+textarea = $(%22#js-single-line-textarea%22).textareaAutoSize(
 );%0A 
@@ -625,82 +625,8 @@
 ) %7B%0A
-    var textarea = $(%22#js-single-line-textarea%22).textareaAutoSize();%0A    %0A
     
@@ -807,77 +807,8 @@
 ) %7B%0A
-    var textarea = $(%22#js-single-line-textarea%22).textareaAutoSize();%0A
     
@@ -1010,77 +1010,8 @@
 ) %7B%0A
-    var textarea = $(%22#js-single-line-textarea%22).textareaAutoSize();%0A
     
@@ -1149,414 +1149,8 @@
  %7D);
-%0A%0A  it(%22is in the DOM%22, function () %7B%0A    expect(myEl).to.not.equal(null);%0A  %7D);%0A%0A  it(%22is a child of the body%22, function () %7B%0A    expect(myEl.parentElement).to.equal(document.body);%0A  %7D);%0A%0A  it(%22has the right text%22, function () %7B%0A    expect(myEl.innerHTML).to.equal(%22Hi there!%22);%0A  %7D);%0A%0A  it(%22has the right background%22, function () %7B%0A    expect(myEl.style.background).to.equal(%22rgb(204, 204, 204)%22);%0A  %7D);
 %0A%7D);

Remove unrelated tests now that suite is working