Skip to content

Commit 5b7777b

Browse files
committed
[test] maintain 1.8 syntax compatibility
1 parent 9dcf480 commit 5b7777b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/db/postgresql/column_test.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Project < ActiveRecord::Base; end
1212
def setup
1313
@connection = ActiveRecord::Base.connection
1414
@connection.transaction do
15-
@connection.create_table 'projects', force: :cascade do |t|
16-
t.string "name", limit: 255, default: ' '
17-
t.text "some_ids", array: true, default: []
15+
@connection.create_table 'projects', :force => :cascade do |t|
16+
t.string "name", :limit => 255, :default => ' '
17+
t.text "some_ids", :array => true, :default => []
1818
end
1919
end
2020
end

0 commit comments

Comments
 (0)