Sha256: 99b54356c861b534b6d2ed14f2f5da067f07cd5ddc7e88f25beafede1ae0d449
Contents?: true
Size: 625 Bytes
Versions: 6
Compression:
Stored size: 625 Bytes
Contents
#= require_tree ../fixtures #= require ../../../vendor/assets/javascripts/testing/sinon-1.7.3 # FakeHost.respond() to complete request beforeEach -> localStorage.clear() window.FakeHost = sinon.fakeServer.create(); # window.FakeHost.respondWith("GET", Dashboard.Routes.widget_search_path(), [200, { "Content-Type": "application/json" }, JSON.stringify( Fixtures.search_results )] ) # window.FakeHost.respondWith("GET", new RegExp(Dashboard.Routes.widget_search_path("[\\d]+$")), [200, { "Content-Type": "application/json" }, JSON.stringify( Fixtures.search_results )] ) afterEach -> window.FakeHost.restore()
Version data entries
6 entries across 6 versions & 1 rubygems