issue #23982: add back credit card crud
authorSteve Hackbarth <stephenhackbarth@gmail.com>
Mon, 23 Jun 2014 18:47:24 +0000 (14:47 -0400)
committerSteve Hackbarth <stephenhackbarth@gmail.com>
Mon, 23 Jun 2014 18:47:24 +0000 (14:47 -0400)
test/specs/credit_card.js

index 7b01580..8d9bf3c 100644 (file)
@@ -6,7 +6,7 @@
 
 (function () {
   "use strict";
-  
+
   var crud = require("../lib/crud"),
     assert = require("chai").assert;
    /**
@@ -30,7 +30,6 @@
   @property {String} CreditCardType
   **/
   var spec = {
-    skipAll: true,
     recordType: "XM.CreditCard",
     enforceUpperKey: false,
     collectionType: "XM.CreditCardCollection",
@@ -66,7 +65,7 @@
     */
     privileges: {
       createUpdate: "ProcessCreditCards",
-      read: "ProcessCreditCards"     
+      read: "ProcessCreditCards"
     },
     createHash : {
       customer: 95, // TTOYS
         next();
       }
     }],
+    skipSmoke: true, // credit card is not a first-class business model
     skipDelete: true
-    
   };
   exports.spec = spec;
 }());