File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -205,14 +205,14 @@ def test_remove_column_with_multi_column_index_coerced
205205 remove_column ( "test_models" , "hat_size" )
206206 assert_equal [ ] , connection . indexes ( 'test_models' ) . map ( &:name )
207207 end
208- end
209208
210- # Choose `StatementInvalid` vs `ActiveRecordError`.
211- coerce_tests! :test_rename_nonexistent_column
212- def test_rename_nonexistent_column_coerced
213- exception = ActiveRecord ::StatementInvalid
214- assert_raise ( exception ) do
215- rename_column "test_models" , "nonexistent" , "should_fail"
209+ # Choose `StatementInvalid` vs `ActiveRecordError`.
210+ coerce_tests! :test_rename_nonexistent_column
211+ def test_rename_nonexistent_column_coerced
212+ exception = ActiveRecord ::StatementInvalid
213+ assert_raise ( exception ) do
214+ rename_column "test_models" , "nonexistent" , "should_fail"
215+ end
216216 end
217217 end
218218 end
You can’t perform that action at this time.
0 commit comments