Sha256: 0d79295df92d2a65269babdcb7cada6e4a4e852d8d19a19556c2eb50d078017b
Contents?: true
Size: 307 Bytes
Versions: 6
Compression:
Stored size: 307 Bytes
Contents
require 'helper' class TestConfig < Test::Unit::TestCase should 'correctly generate a js function from yaml' do config = YAML.load <<-YAML alert: !js alert('foo bar') standard: json YAML assert_equal "{\"alert\":alert('foo bar'),\"standard\":\"json\"}", config.to_json end end
Version data entries
6 entries across 6 versions & 1 rubygems