spec/spec.matchers.js in visionmedia-jspec-2.7.2 vs spec/spec.matchers.js in visionmedia-jspec-2.8.1

- old
+ new

@@ -25,9 +25,15 @@ it 'should hash compare objects' { foo : 'bar' }.should.eql { foo : 'bar' } end + it 'should hash compare objects with different orders' + a = { one : 'two', three : 'four' } + b = { three : 'four', one : 'two' } + a.should.eql b + end + it 'should hash compare arbitrary objects' Foo = function(){}, Bar = function(){} Bar.prototype = { doSomething : function(){ }} foo = new Foo, foo2 = new Foo, bar = new Bar foo.should.eql foo2 \ No newline at end of file