test/librails_test.rb in librails-0.0.9 vs test/librails_test.rb in librails-0.1.0

- old
+ new

@@ -6,7 +6,13 @@ # end include Librails::ViewHelper def test_hello assert_equal('Hello World!2', hello_method2) - end + end + + def test_rescue_mysql2_error + e = RuntimeError.new("Incorrect string value:") + puts e.message + Librails::MiscUtils.rescue_mysql2_error(e) + end end