implemented flog backend
[augment.git] / spec / fixtures / drinks / test / test_drink.rb
blob707b957a6747e11db053c13ef5792ee6d989f7fe
1 require 'test/unit'
3 class SampleTest < Test::Unit::TestCase
4   def test_might_error
5     junk.foo
6   end
7   
8   def test_should_pass_longer
9     foo = 2 + 0
10     assert_equal 2, foo
11     assert_match /foo(.*)/, "foobarbunkle"
12   end
13   
14   def test_will_fail
15     a = "hello world"
16     a.split(' ')
17     assert_equal 88, a.length, "bad length"
18   end
19 end