Sha256: e3962b4013422f4de025ad75e935bb09775ef2a47856bb72fc2dc53fc724c81a

Contents?: true

Size: 386 Bytes

Versions: 11

Compression:

Stored size: 386 Bytes

Contents

u = up.util
$ = jQuery

beforeEach ->
  jasmine.addMatchers
    toMatchUrl: (util, customEqualityTesters) ->
      compare: (actual, expected, normalizeOptions = {}) ->
        pass = true
        pass &&= u.isString(actual)
        pass &&= u.isString(expected)
        pass &&= u.normalizeUrl(actual, normalizeOptions) == u.normalizeUrl(expected, normalizeOptions)
        { pass }


Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
unpoly-rails-1.0.3 spec_app/spec/javascripts/helpers/to_match_url.coffee
unpoly-rails-1.0.1 spec_app/spec/javascripts/helpers/to_match_url.coffee
unpoly-rails-1.0.0 spec_app/spec/javascripts/helpers/to_match_url.coffee
unpoly-rails-0.62.1 spec_app/spec/javascripts/helpers/to_match_url.coffee
unpoly-rails-0.62.0 spec_app/spec/javascripts/helpers/to_match_url.coffee
unpoly-rails-0.61.1 spec_app/spec/javascripts/helpers/to_match_url.coffee
unpoly-rails-0.61.0 spec_app/spec/javascripts/helpers/to_match_url.coffee
unpoly-rails-0.60.3 spec_app/spec/javascripts/helpers/to_match_url.coffee
unpoly-rails-0.60.2 spec_app/spec/javascripts/helpers/to_match_url.coffee
unpoly-rails-0.60.1 spec_app/spec/javascripts/helpers/to_match_url.coffee
unpoly-rails-0.60.0 spec_app/spec/javascripts/helpers/to_match_url.coffee