Sha256: 27e7b40c07db952998f7473f67f07f05790603f9b14b8e8bd32286cdc37c0b79
Contents?: true
Size: 622 Bytes
Versions: 4
Compression:
Stored size: 622 Bytes
Contents
# =require spec_helper # =require_tree ./<%= file_name %> $ -> new specs.<%= class_name %>Spec extendClass 'specs.<%= class_name %>Spec', (spec)-> initialize: -> @createFakeServer() @extend this, new specs.jasmine.AjaxHelpers(@fakeServer) @describe() describe: -> describe '<%= class_name %>', => @beforeAll() beforeEach @beforeEach @runSpecs() runs @afterAll beforeAll: -> @fakeServer.start() afterAll: => @fakeServer.stop() beforeEach: => @fakeServer.ignoreAllRequests() runSpecs: => it 'passes', => expect(@fakeServer).not.toBeUndefined()
Version data entries
4 entries across 4 versions & 1 rubygems