mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-07-27 11:22:18 +08:00
15 lines
424 B
CoffeeScript
15 lines
424 B
CoffeeScript
describe "jasmine-fixture", ->
|
|
describe "affixing things", ->
|
|
invariants.passingSpec()
|
|
|
|
describe "a simple div", ->
|
|
Given -> createSpec """
|
|
describe 'foo', ->
|
|
Given -> @foo = 1
|
|
When -> @foo++
|
|
Then -> @foo == 2
|
|
"""
|
|
When (done) -> runSpec done, (result) ->
|
|
@result = result
|
|
Then -> expect(@result.stdout).toMatch(/ok.*- foo then this.foo === 2/)
|