Files
edx-platform/cms/static/js/spec/models/course_spec.js
Michael Terry a34c8c8233 Drop remaining coffee use
This basically commits the transpiled CoffeeScript JS (with minor
cleanup) and removes coffee build support.

A tiny amount of support for xblocks exists, because external users
may have xblocks with coffee. But no coffee in our tree anyway.
2018-04-13 14:10:40 -04:00

16 lines
422 B
JavaScript

define(["js/models/course"], Course =>
describe("Course", () =>
describe("basic", function() {
beforeEach(function() {
this.model = new Course({
name: "Greek Hero"
});
});
it("should take a name argument", function() {
expect(this.model.get("name")).toEqual("Greek Hero");
});
})
)
);