Sha256: 1b12f72352a8187fe4df3464af9b2ab61c43a0c555be3ff61753be214b8e338e
Contents?: true
Size: 429 Bytes
Versions: 14
Compression:
Stored size: 429 Bytes
Contents
#!/usr/bin/env ruby # # Test suite for sample Ruby application. require 'test/unit' $:.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'application' # Test sample Ruby application class TestApplication < Test::Unit::TestCase # Run before each test def setup end # Test hello method def test_hello expected = 'Hello Foo!' actual = hello('Foo') assert_equal(expected, actual) end end
Version data entries
14 entries across 14 versions & 1 rubygems