提交 908796da 编写于 作者: A Aaron Patterson

use `skip` so we can see what tests are not run

上级 806bc2ad
......@@ -584,12 +584,11 @@ def test_readonly_attributes
assert_equal "changed", post.body
end
unless current_adapter?(:MysqlAdapter)
def test_unicode_column_name
columns = Weird.columns_hash.keys
weird = Weird.create(:なまえ => 'たこ焼き仮面')
assert_equal 'たこ焼き仮面', weird.なまえ
end
def test_unicode_column_name
skip "not on mysql" if current_adapter?(:MysqlAdapter)
columns = Weird.columns_hash.keys
weird = Weird.create(:なまえ => 'たこ焼き仮面')
assert_equal 'たこ焼き仮面', weird.なまえ
end
def test_non_valid_identifier_column_name
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册