Sha256: fe2f9b11f1f7dd6714df84efa3d2c3e505901e284bd9211e7f236439e759dda4
Contents?: true
Size: 460 Bytes
Versions: 13
Compression:
Stored size: 460 Bytes
Contents
beforeEach -> jasmine.addMatchers toHaveRequestMethod: (util, customEqualityTesters) -> compare: (request, expectedMethod) -> console.log("real is %o, wrapped is %o", request.method, request.data()['_method']) realMethodMatches = (request.method == expectedMethod) wrappedMethodMatches = util.equals(request.data()['_method'], [expectedMethod], customEqualityTesters) pass: realMethodMatches || wrappedMethodMatches
Version data entries
13 entries across 13 versions & 2 rubygems