Sha256: 3e501af5925f1a5b97e41a91eaacde8bff8091fbc349c40890f292bab86ef292
Contents?: true
Size: 558 Bytes
Versions: 1
Compression:
Stored size: 558 Bytes
Contents
# =require spec_helper # =require_tree ./<%= file_name %> $ -> new specs.<%= class_name %>Spec extendClass 'specs.<%= class_name %>Spec', (spec)-> initialize: -> @createFakeServer() @describe() describe: -> describe '<%= class_name %>', => @beforeAll() beforeEach @beforeEach @runSpecs() @afterAll() beforeAll: -> @fakeServer.start() afterAll: -> @fakeServer.stop() beforeEach: => @fakeServer.ignoreAllRequests() runSpecs: => it 'passes', => expect(@fakeServer).not.toBeUndefined()
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oojs-0.0.1 | lib/generators/oojs/spec/templates/spec.js.coffee.erb |