     expect(@test.push).toHaveBeenCalledWith jasmine.objectContaining({ id: 1 })
 
   it 'creates and calls a function', ->
-    Model.create {}, (data) ->
+    Post.create {}, (data) ->
       expect(typeof data).toBe 'object'
       expect(data.id).toBe 1
 
     request = jasmine.Ajax.requests.mostRecent()
 
-    expect(request.url).toBe '/tests'
+    expect(request.url).toBe '/posts'
     expect(request.method).toBe 'POST'
     expect(request.data()).toEqual {}
 

    ObservableArray @, 'test'
    spyOn @test, 'push'

    Model.create {}, @test

    request = jasmine.Ajax.requests.mostRecent()
    request.respondWith Responses.general


  describe 'Instance functions', ->
    beforeAll ->
      Post.get_one 1, (data) =>
        @instance = new Post(data)

      request = jasmine.Ajax.requests.mostRecent()
      request.respondWith Responses.general
