Files
edx-platform/cms/static/coffee/spec/models/course_spec.js
David Ormsbee 0880502f26 CoffeeScript tests migration: Decaffeinate files
This is running decaffeinate, with no additional cleanup.
2017-11-22 15:39:50 -05:00

21 lines
640 B
JavaScript

/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
*/
define(["js/models/course"], Course =>
describe("Course", () =>
describe("basic", function() {
beforeEach(function() {
return this.model = new Course({
name: "Greek Hero"
});
});
return it("should take a name argument", function() {
return expect(this.model.get("name")).toEqual("Greek Hero");
});
})
)
);