Created
March 5, 2012 15:28
-
-
Save denniskuczynski/1978798 to your computer and use it in GitHub Desktop.
test_model tests
This file contains 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
describe 'ProjectName.Models.TestModel:', -> | |
describe 'ProjectName.Models.TestModelTest:', -> | |
beforeEach -> | |
@model = new ProjectName.Models.TestModel({test_string: "Hello World"}) | |
it "should load spec helper file", -> | |
expect(CoffeeSpecHelper.coffee).toEqual('script') | |
it 'Example Model Test', -> | |
test_string = @model.get("test_string") | |
expect(test_string).toEqual("Hello World") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment