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.
@@ -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]();
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: janitor_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: