Sha256: 27f3eb6243fb9f28083167c1c8811454f69c387a33aabc1b7fb657b96a4e173c

Contents?: true

Size: 1.96 KB

Versions: 1

Compression:

Stored size: 1.96 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1318617537.87104514:@value{I"
class:EFI"BundledAsset;
FI"id;
F"%cfe72483c3243f2d9b2d4d605dba2a27I"logical_path;
FI"sinon/jasmine-sinon.js;
FI"
pathname;
FI"Y/Users/sam/dev/quickleft/test_track/vendor/assets/javascripts/sinon/jasmine-sinon.js;
FI"content_type;
FI"application/javascript;
FI"
mtime;
FI"2011-08-29T10:49:09-06:00;
FI"	body;
FI"(function(global) {
  
  var spyMatchers = "called calledOnce calledTwice calledThrice calledBefore calledAfter calledOn alwaysCalledOn calledWith alwaysCalledWith calledWithExactly alwaysCalledWithExactly".split(" "),
    i = spyMatchers.length,
    spyMatcherHash = {},
    unusualMatchers = {
      "returned": "toHaveReturned",
      "alwaysReturned": "toHaveAlwaysReturned"
    },
    
  getMatcherFunction = function(sinonName) {
    return function() {
      var sinonProperty = this.actual[sinonName];
      return (typeof sinonProperty === 'function') ? sinonProperty.apply(this.actual, arguments) : sinonProperty;
    };
  };
    
  while(i--) {
    var sinonName = spyMatchers[i],
      matcherName = "toHaveBeen" + sinonName.charAt(0).toUpperCase() + sinonName.slice(1);
      
    spyMatcherHash[matcherName] = getMatcherFunction(sinonName);
  };
  
  for (var j in unusualMatchers) {
    spyMatcherHash[unusualMatchers[j]] = getMatcherFunction(j);
  }
  
  global.sinonJasmine = {
    getMatchers: function() {
      return spyMatcherHash;
    }
  };
  
})(window);

beforeEach(function() {
  
  this.addMatchers(sinonJasmine.getMatchers());
  
});
;
FI"asset_paths;
F[I"Y/Users/sam/dev/quickleft/test_track/vendor/assets/javascripts/sinon/jasmine-sinon.js;
FI"dependency_paths;
F[{I"	path;
FI"Y/Users/sam/dev/quickleft/test_track/vendor/assets/javascripts/sinon/jasmine-sinon.js;
FI"
mtime;
FIu:	Time
:@_zoneI"MDT;
T:offsetiI"hexdigest;
F"%e92916217658279c3da6ee21e0e06970I"
_version;
F"%bb86174cee9b8a939ac3885b2d18e284

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
test_track-0.0.4 test/dummy/tmp/cache/assets/D6A/E80/sprockets%2Faa56e5ddd1e69105ed910fb72168d3c3