Sha256: 84c7c18839c62db2e4568317644366a758741a0a0a00eb90adcd3495af70290b

Contents?: true

Size: 318 Bytes

Versions: 57

Compression:

Stored size: 318 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

57 entries across 57 versions & 31 rubygems

Version Path
hola_seif7-0.0.4 test/test_hola.rb
hola_seif7-0.0.3 test/test_hola.rb
hola_seif7-0.0.1 test/test_hola.rb
puppet-module-win-system-r-0.0.0 test/test_hola.rb
hola_hunt-0.0.3 test/test_hola.rb
hola_hunt-0.0.2 test/test_hola.rb
hola_hunt-0.0.1 test/test_hola.rb
digitnine-0.0.1 test/test_digitnine.rb
hola_ctmayn-0.0.1 test/test_hola.rb
hola_tl-0.0.1 test/test_hola.rb
hola_tetso1-0.0.3 test/test_hola.rb
mobile-secrets-0.0.4 test/test_hola.rb
mobile-secrets-0.0.3 test/test_hola.rb
mobile-secrets-0.0.2 test/test_hola.rb
mobile-secrets-0.0.1 test/test_hola.rb
hola_negabaro-0.0.1 test/test_hola.rb
hola_tarar-0.0.6 test/test_hola.rb
hola_tarar-0.0.5 test/test_hola.rb
hola_tarar-0.0.4 test/test_hola.rb
hola_tarar-0.0.2 test/test_hola.rb