moving shift test to xtuple-extensions
authorLinda Nichols <lynnaloo@gmail.com>
Wed, 27 Aug 2014 16:10:02 +0000 (16:10 +0000)
committerLinda Nichols <lynnaloo@gmail.com>
Wed, 27 Aug 2014 16:10:02 +0000 (16:10 +0000)
test/specs/shift.js [deleted file]

diff --git a/test/specs/shift.js b/test/specs/shift.js
deleted file mode 100644 (file)
index a99ccd8..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-/*jshint indent:2, curly:true, eqeqeq:true, immed:true, latedef:true,
-newcap:true, noarg:true, regexp:true, undef:true, strict:true, trailing:true,
-white:true*/
-/*global XV:true, XT:true, _:true, console:true, XM:true, Backbone:true, require:true, assert:true,
-setTimeout:true, before:true, clearTimeout:true, exports:true, it:true, describe:true, beforeEach:true */
-
-(function () {
-  "use strict";
-
-  /**
-    @class
-    @alias Shifts
-    @property {String} number
-    @property {String} name
-  */
-  var spec = {
-    recordType: "XM.Shift",
-    collectionType: "XM.ShiftCollection",
-    listKind: "XV.ShiftList",
-    instanceOf: "XM.Document",
-    /**
-      @member -
-      @memberof Shift
-      @description Shifts are lockable.
-    */
-    isLockable: true,
-    attributes: ["id", "name", "number"],
-    requiredAttributes: ["name", "number"],
-    /**
-    @member -
-    @memberof Shift
-    @description Used in the Time & Expense modules
-    */
-    extensions: ["time_expense"],
-    /**
-      @member -
-      @memberof Shift
-      @description Shifts can be read by all users and can be created, updated,
-        or deleted by users with the "MaintainShifts" privilege.
-    */
-    privileges: {
-      createUpdateDelete: true,
-      read: true
-    },
-    createHash: {
-      name: "First" + Math.random(),
-      number: "FIRST" + Math.random()
-    },
-    updateHash: {
-      name: "Second" + Math.random()
-    }
-  };
-
-  exports.spec = spec;
-
-}());