diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-08-08 13:23:10 +0900 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-08-08 13:23:10 +0900 |
commit | 908796dac5c702123415727fd28f6f9633dc2354 (patch) | |
tree | ab07326f85e90f00d3160b37f99a6ce32e438d76 /activerecord/test/cases | |
parent | 806bc2add8a0807ca45fb0945856bec89a321fc8 (diff) | |
download | rails-908796dac5c702123415727fd28f6f9633dc2354.tar.gz rails-908796dac5c702123415727fd28f6f9633dc2354.tar.bz2 rails-908796dac5c702123415727fd28f6f9633dc2354.zip |
use `skip` so we can see what tests are not run
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/base_test.rb | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb index cd2b341826..e50e32900e 100644 --- a/activerecord/test/cases/base_test.rb +++ b/activerecord/test/cases/base_test.rb @@ -584,12 +584,11 @@ class BasicsTest < ActiveRecord::TestCase 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 |