spec/javascripts/joosy/preloaders/inline_spec.js.coffee in joosy-1.0.0.RC4 vs spec/javascripts/joosy/preloaders/inline_spec.js.coffee in joosy-1.0.0.RC5

- old
+ new

@@ -1,16 +1,16 @@ describe "InlinePreloader", -> it "should load JS", -> window.variable_assigned_on_load = undefined callback = sinon.spy() - + runs -> - InlinePreloader.load [['/spec/javascripts/support/assets/test.js']], + 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 \ No newline at end of file + window.variable_assigned_on_load = undefined