Sha256: 71572eb11d2b926af354a94c3f1f5e57483fa797b59f02576e073ddbe3553fd1

Contents?: true

Size: 232 Bytes

Versions: 4

Compression:

Stored size: 232 Bytes

Contents

module "public API"

for name, method of @LocalTime when name isnt "strftime"
  do (name, method) ->
    test "##{name}", ->
      ok method(new Date())

{strftime} = @LocalTime

test "#strftime", =>
  ok strftime(new Date(), "%Y")

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
local_time-1.0.3 test/javascripts/src/public_api_test.js.coffee
local_time-1.0.2 test/javascripts/local_time/public_api_test.js.coffee
local_time-1.0.1 test/javascripts/local_time/public_api_test.js.coffee
local_time-1.0.0 test/javascripts/local_time/public_api_test.js.coffee