Sha256: d33e36859ab2870c5070938f061fa04689503750337dc21cf4d5a00d48353d10

Contents?: true

Size: 2 KB

Versions: 1

Compression:

Stored size: 2 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1314721140.113385A³:@value{I"
class:EFI"BundledAsset;
FI"id;
F"%51f8eb6538cef57f60471035d9ab1fa0I"logical_path;
FI"sinon/jasmine-sinon.js;
FI"
pathname;
FI"f/Users/ryancook/Workspace/open_source/test_track/vendor/assets/javascripts/sinon/jasmine-sinon.js;
FI"content_type;
FI"application/javascript;
FI"
mtime;
FI"2011-08-30T08:16:11-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"f/Users/ryancook/Workspace/open_source/test_track/vendor/assets/javascripts/sinon/jasmine-sinon.js;
FI"dependency_paths;
F[{I"	path;
FI"f/Users/ryancook/Workspace/open_source/test_track/vendor/assets/javascripts/sinon/jasmine-sinon.js;
FI"
mtime;
FIu:	Time
Î߀°@:@_zone"MDT:offsetiþ «I"hexdigest;
F"%e92916217658279c3da6ee21e0e06970I"
_version;
F"%bb86174cee9b8a939ac3885b2d18e284

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
test_track-0.0.3 test/dummy/tmp/cache/assets/D96/660/sprockets%2Fac79fd11b3a84e3e775c1f21cb5dd144