Commit bef1300b authored by Romain Courteaud's avatar Romain Courteaud

[linshare] Test hasCapacity

parent dd4259b2
......@@ -74,6 +74,23 @@
equal(jio.__storage._access_token, "azerty");
});
/////////////////////////////////////////////////////////////////
// LinshareStorage hasCapacity
/////////////////////////////////////////////////////////////////
module("LinshareStorage.hasCapacity", {
setup: function () {
this.jio = jIO.createJIO({
type: "linshare",
url: "https://example.org/foo"
});
}
});
test("check capacities", function () {
ok(this.jio.hasCapacity("list"));
ok(this.jio.hasCapacity("include"));
});
/////////////////////////////////////////////////////////////////
// DropboxStorage.put
/////////////////////////////////////////////////////////////////
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment