janitor_rails 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/vendor/assets/javascripts/janitor.js +12 -0
- metadata +1 -1
@@ -124,6 +124,14 @@ window.Janitor.Stitch = {};
|
|
124
124
|
actual: actual,
|
125
125
|
delta: delta
|
126
126
|
});
|
127
|
+
},
|
128
|
+
refuteEqual: function(expected, actual) {
|
129
|
+
var success;
|
130
|
+
success = expected !== actual;
|
131
|
+
return this.storeAssert('refuteEqual', success, {
|
132
|
+
expected: expected,
|
133
|
+
actual: actual
|
134
|
+
});
|
127
135
|
}
|
128
136
|
};
|
129
137
|
}, "browser_presenter": function(exports, require, module) {(function() {
|
@@ -263,6 +271,10 @@ window.Janitor.Stitch = {};
|
|
263
271
|
return "" + this.options.actual + " is not within " + this.options.expected + "±" + this.options.delta;
|
264
272
|
};
|
265
273
|
|
274
|
+
FailedAssertionMessage.prototype.refuteEqual = function() {
|
275
|
+
return "" + this.options.actual + " equals " + this.options.expected;
|
276
|
+
};
|
277
|
+
|
266
278
|
FailedAssertionMessage.prototype.toString = function() {
|
267
279
|
if (this[this.type]) {
|
268
280
|
return this[this.type]();
|