Sha256: 0edbc2eef8ba3ea157d6e632b33f4db536d82d50ad927159ecbd9205634c17a7

Contents?: true

Size: 353 Bytes

Versions: 3

Compression:

Stored size: 353 Bytes

Contents

u = up.util

beforeEach ->
  jasmine.addMatchers
    toEqualUrl: (util, customEqualityTesters) ->
      compare: (actual, expected, normalizeOptions = {}) ->
        normalizedActual = u.normalizeUrl(actual, normalizeOptions)
        normalizedExpected = u.normalizeUrl(expected, normalizeOptions)
        pass: normalizedActual == normalizedExpected


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
unpoly-rails-0.37.0 spec_app/spec/javascripts/helpers/to_equal_url.coffee
unpoly-rails-0.36.2 spec_app/spec/javascripts/helpers/to_equal_url.coffee
unpoly-rails-0.36.1 spec_app/spec/javascripts/helpers/to_equal_url.coffee