Sha256: 49ce56186b2bd602e3f23c2f3ab662b5a61afe2e05cbf9e55e553f114fd897c2

Contents?: true

Size: 351 Bytes

Versions: 3

Compression:

Stored size: 351 Bytes

Contents

require 'test/unit'
require 'serveall'

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
serveall-0.0.4 test/test_serveall.rb
serveall-0.0.2 test/test_serveall.rb
serveall-0.0.1 test/test_serveall.rb