Skip to content

Commit b3492a8

Browse files
committed
Fixed tests
1 parent 5185b3c commit b3492a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/cases/fully_qualified_identifier_test_sqlserver.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ class FullyQualifiedIdentifierTestSQLServer < ActiveRecord::TestCase
4242

4343
it 'should not use fully qualified table name in order clause' do
4444
table = Arel::Table.new(:table)
45-
expected_sql = "SELECT * FROM [my.server].[db].[schema].[table] ORDER BY [table].[name]"
45+
expected_sql = "SELECT * FROM [my.server].[db].[schema].[table] ORDER BY [table].[name]"
4646
assert_equal expected_sql, table.project(Arel.star).order(table[:name]).to_sql
4747
end
4848

4949
it 'should use fully qualified table name in insert statement' do
5050
manager = Arel::InsertManager.new
5151
manager.into Arel::Table.new(:table)
52-
manager.values = manager.create_values [Arel.sql('*')], %w{ a }
52+
manager.values = manager.create_values [Arel.sql('*')]
5353
expected_sql = "INSERT INTO [my.server].[db].[schema].[table] VALUES (*)"
5454
quietly { assert_equal expected_sql, manager.to_sql }
5555
end

0 commit comments

Comments
 (0)