Sha256: 3bba36b0015c83f8ef74515c0f3ace9bad96da43939009244fd2cdc6249f91ec
Contents?: true
Size: 850 Bytes
Versions: 4
Compression:
Stored size: 850 Bytes
Contents
#= require teaspoon/fixture class Teaspoon.Jasmine1.Fixture extends Teaspoon.Fixture @load: -> args = arguments throw "Teaspoon can't load fixtures outside of describe." unless @env().currentSuite || @env().currentSpec if @env().currentSuite @env().beforeEach => fixture.__super__.constructor.load.apply(@, args) @env().afterEach => @cleanup() super else @env().currentSpec.after => @cleanup() super @set: -> args = arguments throw "Teaspoon can't load fixtures outside of describe." unless @env().currentSuite || @env().currentSpec if @env().currentSuite @env().beforeEach => fixture.__super__.constructor.set.apply(@, args) @env().afterEach => @cleanup() super else @env().currentSpec.after => @cleanup() super @env: -> window.jasmine.getEnv()
Version data entries
4 entries across 4 versions & 1 rubygems