Sha256: 9bfda3e2307c7a3a76d57473f6a2e1b8abb41cc2ad78be921d9a40b506921444

Contents?: true

Size: 851 Bytes

Versions: 10

Compression:

Stored size: 851 Bytes

Contents

console.log("testing console output")

describe "Teabag running Jasmine", ->

  it "is awesome", ->
    expect(passing).toEqual(true)


  describe "running tests", ->

    it "actually tests", ->
      loadFixtures("fixture.html")
      expect($("#fixture_view")).toExist()

    it "can handle more than one test", ->
      waits(1000)
      runs -> expect(passing).toEqual(true)


  describe "failing tests", ->

    it "can fail", ->
      expect(failing).toEqual(false)


  describe "pending", ->

    it "is allowed"

    xit "doesn't display or get executed (different than mocha)", ->
      alert("no no no")
      expect(false).to.equal(true)


  describe "nesting", ->

    describe "multiple levels", ->

      it "displays correctly", ->
        expect(passing).toEqual(true)


  it "is something cool", ->
    expect(passing).toEqual(true)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
teabag-0.4.2 spec/javascripts/teabag/jasmine/jasmine_jspec.coffee
teabag-0.4.1 spec/javascripts/teabag/jasmine/jasmine_jspec.coffee
teabag-0.4.0 spec/javascripts/teabag/jasmine/jasmine_jspec.coffee
teabag-0.3.6 spec/javascripts/teabag/jasmine/jasmine_jspec.coffee
teabag-0.3.5 spec/javascripts/teabag/jasmine/jasmine_jspec.coffee
teabag-0.3.4 spec/javascripts/teabag/jasmine/jasmine_jspec.coffee
teabag-0.3.3 spec/javascripts/teabag/jasmine/jasmine_jspec.coffee
teabag-0.3.2 spec/javascripts/teabag/jasmine/jasmine_jspec.coffee
teabag-0.3.1 spec/javascripts/teabag/jasmine/jasmine_jspec.coffee
teabag-0.3.0 spec/javascripts/teabag/jasmine/jasmine_jspec.coffee