cylon/spec/lib/adaptor.spec.js

15 lines
318 B
JavaScript
Raw Normal View History

2014-12-15 07:21:28 +08:00
/* jshint expr:true */
"use strict";
2013-12-19 04:26:21 +08:00
2014-12-16 01:37:52 +08:00
var Adaptor = source("adaptor");
2014-03-22 01:15:53 +08:00
describe("Adaptor", function() {
2014-12-15 07:21:28 +08:00
var adaptor = new Adaptor({ name: "adaptor" });
2013-12-19 04:26:21 +08:00
2014-03-22 01:15:53 +08:00
describe("#constructor", function() {
it("sets @name to the provided name", function() {
2014-12-15 07:21:28 +08:00
expect(adaptor.name).to.be.eql("adaptor");
});
});
});