提交 88de905c 编写于 作者: Y Yasuo Honda

Skip test_setting_time_attribute because Oracle database

does not have TIME data type.
上级 3dc753fa
......@@ -792,6 +792,8 @@ def title=(val); self.author_name = val; end
end
def test_setting_time_attribute
return skip "Oracle does not have TIME data type" if current_adapter? :OracleAdapter
topic = Topic.new( "bonus_time(4i)"=> "01", "bonus_time(5i)" => "05" )
assert_equal 1, topic.bonus_time.hour
assert_equal 5, topic.bonus_time.min
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册