We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc86d04 commit 372bc78Copy full SHA for 372bc78
test/cases/coerced_tests.rb
@@ -998,3 +998,14 @@ class UnsafeRawSqlTest < ActiveRecord::TestCase
998
end
999
1000
1001
+
1002
1003
+class ReservedWordTest < ActiveRecord::TestCase
1004
+ coerce_tests! :test_change_columns
1005
+ def test_change_columns_coerced
1006
+ assert_nothing_raised { @connection.change_column_default(:group, :order, "whatever") }
1007
+ assert_nothing_raised { @connection.change_column("group", "order", :text) }
1008
+ assert_nothing_raised { @connection.change_column_null("group", "order", true) }
1009
+ assert_nothing_raised { @connection.rename_column(:group, :order, :values) }
1010
+ end
1011
+end
0 commit comments