Created
December 6, 2012 17:31
-
-
Save randallb/4226335 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#= require angular/angular-mocks.js | |
fn = (suiter) -> | |
describe "awesome", -> | |
it "should be cool", -> | |
console.log "success!" | |
console.log suiter | |
fn("suit") | |
describe "Entry Module", -> | |
beforeEach module 'entry' | |
describe 'entry class', -> | |
entry = null | |
beforeEach inject (Entry) -> | |
entry = new Entry test_data: "yo" | |
for key in entry.badKeys | |
entry[key] = "bad key!" | |
describe "sending to air", -> | |
it 'should not contain bad keys.', -> | |
air = entry.prepareForAir() | |
for key in entry.badKeys | |
expect(air[key]).toBe(undefined) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment