Sha256: 197b931273d59bcdd1eb56ddab919e8ea34191c8f6e4c84d0b774eae2ef563ae

Contents?: true

Size: 341 Bytes

Versions: 1

Compression:

Stored size: 341 Bytes

Contents

require 'test/unit'
require 'hola'

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hola_ceciliaquin-1.0.0 test/test_hola_ceciliaquin.rb