Sha256: 654e9430e47757c6856596d2a6cafec4fad5bcdfffb9e64e245c4fff3f94f0cd

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 Bytes

Contents

require 'test/unit'
require 'charcoalcms'

class CharcoalCmsTest < Test::Unit::TestCase
  def test_english_hello
    assert_equal "hello world", CharcoalCms.hi("english")
  end

  def test_any_hello
    assert_equal "hello world", CharcoalCms.hi("ruby")
  end

  def test_spanish_hello
    assert_equal "CharcoalCms mundo", CharcoalCms.hi("spanish")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
charcoalcms-0.0.1 test/test_charcoalcms.rb