Merge pull request #25 from kimptoc/master

Some minor tweaks
This commit is contained in:
Matt Darby
2011-06-02 15:28:50 -07:00
2 changed files with 3 additions and 1 deletions

View File

@@ -33,7 +33,8 @@ class AboutProxyObjectProject < EdgeCase::Koan
def test_tv_methods_still_perform_their_function
tv = Proxy.new(Television.new)
# HINT Proxy class is defined above, may need tweaking...
tv.channel = 10
tv.power

View File

@@ -11,6 +11,7 @@ class AboutTriangleProject2 < EdgeCase::Koan
assert_raise(TriangleError) do triangle(3, 4, -5) end
assert_raise(TriangleError) do triangle(1, 1, 3) end
assert_raise(TriangleError) do triangle(2, 4, 2) end
#HINT: for tips, see http://stackoverflow.com/questions/3834203/ruby-koan-151-raising-exceptions
end
end