Sha256: 7c4fc3fc7303aecf65d569395a4d8e299e5e40a39005c61583af14b69c7d83df

Contents?: true

Size: 386 Bytes

Versions: 4

Compression:

Stored size: 386 Bytes

Contents

module "AS.CK.Helpers"
test "autoId", ->
  id = AS.CK.Helpers.autoId()
  ok id.string != "", "selector is not blank"
  ok id.string != undefined, "selector is defined"
  equal id.query().selector, "##{id.string}", "gives id as a string and a selector"

test "shy", ->
  shy = AS.CK.Helpers.shy("ThisShallShy")
  equal shy, "This­Shall­Shy", "adds shy markers to titlecase text"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alpha-simprini-engine-0.0.4 app/assets/javascripts/test/alpha_simprini/coffee_kup/helpers.coffee
alpha-simprini-engine-0.0.3 app/assets/javascripts/test/alpha_simprini/coffee_kup/helpers.coffee
alpha-simprini-engine-0.0.2 app/assets/javascripts/test/alpha_simprini/coffee_kup/helpers.coffee
alpha-simprini-engine-0.0.1 app/assets/javascripts/test/alpha_simprini/coffee_kup/helpers.coffee