Sha256: 84f6a33f443e098ea6582f057f653630a399e76daf3b7d9cbf3eacb924be9fb2

Contents?: true

Size: 1.95 KB

Versions: 5

Compression:

Stored size: 1.95 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1356730069.8979268:@value"g{I"
class:EFI"BundledAsset;FI"logical_path;FI"teabag/qunit/qunit_test.js;FI"
pathname;FI"U/Users/jejacks0n/Projects/teabag/test/javascripts/teabag/qunit/qunit_test.coffee;FI"content_type;FI"application/javascript;FI"
mtime;FI"2012-12-28T14:13:09-07:00;FI"length;Fi‡I"digest;F"%0648811dd18bf099dbc77d72ab867be0I"source;FI"‡(function() {

  console.log("testing console output");

  test("doesn't need a module", function() {
    return ok(passing === true, "Passing is true");
  });

  module("Teabag running QUnit");

  test("is awesome", function() {
    return ok(passing === true, "Passing is true");
  });

  module("Running tests", test("actually tests", 1, function() {
    fixture("fixture.html");
    return ok(document.getElementById("fixture_view").tagName === "DIV", "loads the fixture");
  }));

  test("can handle more than one test", function() {
    expect(1);
    stop();
    return setTimeout(function() {
      ok(passing === true, "Passing is true");
      return start();
    }, 1000);
  });

  module("Failing tests");

  test("can fail", function() {
    ok(failing === false, "Failing is false");
    return ok(failing === false, "Failing is false");
  });

  fixture.preload("fixture.html", "fixture.json");

  module("Using fixtures", {
    setup: function() {
      fixture.set("<h2>Another Title</h2>");
      return this.fixtures = fixture.load("fixture.html", "fixture.json", true);
    }
  });

  test("loads fixtures", function() {
    ok(document.getElementById("fixture_view").tagName === "DIV", "is in the dom");
    ok(this.fixtures[0] === fixture.el, "has return values for the el");
    return ok(this.fixtures[1].title === fixture.json[0].title, "has return values for json");
  });

}).call(this);
;FI"required_assets_digest;F"%3235d55dbe55fa26c698411291ce5b48I"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
teabag-0.5.0 spec/dummy/tmp/cache/assets/DC4/860/sprockets%2Fa01a3cf460ff15daae0f928d0f85f52e
teabag-0.4.6 spec/dummy/tmp/cache/assets/DC4/860/sprockets%2Fa01a3cf460ff15daae0f928d0f85f52e
teabag-0.4.5 spec/dummy/tmp/cache/assets/DC4/860/sprockets%2Fa01a3cf460ff15daae0f928d0f85f52e
teabag-0.4.4 spec/dummy/tmp/cache/assets/DC4/860/sprockets%2Fa01a3cf460ff15daae0f928d0f85f52e
teabag-0.4.3 spec/dummy/tmp/cache/assets/DC4/860/sprockets%2Fa01a3cf460ff15daae0f928d0f85f52e