Skip to content

Commit 7626539

Browse files
committed
make sure we can still run the tests with JRuby 1.6.8 (syntax error in --1.8 mode)
1 parent 1a1deb2 commit 7626539

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/db/postgresql/array_type_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ def test_added_column_with_default
6464
end
6565

6666
def test_change_column_with_array
67-
@connection.add_column :pg_arrays, :snippets, :string, array: true, default: []
68-
@connection.change_column :pg_arrays, :snippets, :text, array: true, default: "{}"
67+
@connection.add_column :pg_arrays, :snippets, :string, :array => true, :default => []
68+
@connection.change_column :pg_arrays, :snippets, :text, :array => true, :default => '{}'
6969

7070
PgArray.reset_column_information
7171
column = PgArray.columns.find { |c| c.name == 'snippets' }

0 commit comments

Comments
 (0)