11 lines
329 B
CoffeeScript
11 lines
329 B
CoffeeScript
define ["js/models/course"], (Course) ->
|
|
describe "Course", ->
|
|
describe "basic", ->
|
|
beforeEach ->
|
|
@model = new Course({
|
|
name: "Greek Hero"
|
|
})
|
|
|
|
it "should take a name argument", ->
|
|
expect(@model.get("name")).toEqual("Greek Hero")
|