Skip to content

Instantly share code, notes, and snippets.

@denniskuczynski
Created March 5, 2012 15:28
Show Gist options
  • Save denniskuczynski/1978798 to your computer and use it in GitHub Desktop.
Save denniskuczynski/1978798 to your computer and use it in GitHub Desktop.
test_model tests
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