Sha256: 153db0cee88f48da9d8cb2e15039bcfc0f83116e21c19822008251e2e64504bc
Contents?: true
Size: 970 Bytes
Versions: 3
Compression:
Stored size: 970 Bytes
Contents
(function($, g) { $.extend(g, { context : function(description, definitions) { return jasmine.getEnv().describe(description, definitions); }, fixture : function(path, load) { function readonly() { return readFixtures(path); } function rendered() { loadFixtures(path); return $('#jasmine-fixtures').children(); } return (load ? rendered() : readonly()); }, before : function(callback) { return jasmine.getEnv().beforeEach(callback); }, after : function(callback) { return jasmine.getEnv().afterEach(callback); }, undefine : function(object, property) { var original = object[property]; object[property] = undefined; jasmine.getEnv().currentSpec.after(function() { object[property] = original; }); } }); function parseKey(content) { return /define\(["']([a-z:_-]+)["']/.exec(content)[1]; } })(jQuery, this);
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
corkboard-0.1.3 | spec/javascripts/spec_helper.js |
corkboard-0.1.2 | spec/javascripts/spec_helper.js |
corkboard-0.1.1 | spec/javascripts/spec_helper.js |