Skip to content

Commit 8fb299b

Browse files
committed
[Rails31] Getting the tests to run with out deprecations for inheritable attributes and new IGNORED_SQL placement.
1 parent 7863ebf commit 8fb299b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/cases/sqlserver_helper.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ def method_added(method)
8282
module ActiveRecord
8383
class SQLCounter
8484
IGNORED_SQL << %r|SELECT SCOPE_IDENTITY| << %r{INFORMATION_SCHEMA\.(TABLES|VIEWS|COLUMNS)} <<
85-
%r|SELECT @@IDENTITY| << %r|SELECT @@ROWCOUNT| << %r|SELECT @@version| << %r|SELECT @@TRANCOUNT| <<
86-
%r{(BEGIN|COMMIT|ROLLBACK|SAVE) TRANSACTION}
85+
%r|SELECT @@IDENTITY| << %r|SELECT @@ROWCOUNT| << %r|SELECT @@version| << %r|SELECT @@TRANCOUNT|
8786

8887
end
8988
end

0 commit comments

Comments
 (0)