Sha256: 6686af7d50cdc9ceeda79597c5bc7c71f7dffdfb41dc313de09e377447181173

Contents?: true

Size: 323 Bytes

Versions: 1

Compression:

Stored size: 323 Bytes

Contents

require 'helper'

class TestElucidate < Test::Unit::TestCase
  should "translate true to Yes" do
    assert_equal(true.to_english, 'Yes')
  end
  should "translate nil to Not Set" do
    assert_equal(nil.to_english, 'Not Set')
  end
  should "translate false to No" do
    assert_equal(nil.to_english, 'Not Set')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
elucidate-1.0.0 test/test_elucidate.rb