Sha256: 0ef089f7b550ebbedecf3d11b17c0161280be19915424167ad113bd4464422e0
Contents?: true
Size: 435 Bytes
Versions: 9
Compression:
Stored size: 435 Bytes
Contents
describe "InlinePreloader", -> it "should load JS", -> window.variable_assigned_on_load = undefined callback = sinon.spy() runs -> InlinePreloader.load [['/spec/javascripts/support/assets/test.js']], complete: callback waits 100 runs -> expect(callback.callCount).toEqual 1 expect(window.variable_assigned_on_load).toEqual 'yapyap' window.variable_assigned_on_load = undefined
Version data entries
9 entries across 9 versions & 1 rubygems