Skip to content

Commit b440bbf

Browse files
authored
Merge pull request #2196 from koic/suppress_rubocop_offense
Suppress RuboCop's offense
2 parents b13ae02 + e6d5af2 commit b440bbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/active_record/connection_adapters/oracle_enhanced/schema_statements_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,13 +1122,13 @@ class ::TestEmployee < ActiveRecord::Base; end
11221122

11231123
before(:each) do
11241124
@conn.instance_variable_set :@would_execute_sql, @would_execute_sql = +""
1125-
class <<@conn
1125+
class << @conn
11261126
def execute(sql, name = nil); @would_execute_sql << sql << ";\n"; end
11271127
end
11281128
end
11291129

11301130
after(:each) do
1131-
class <<@conn
1131+
class << @conn
11321132
remove_method :execute
11331133
end
11341134
@conn.instance_eval { remove_instance_variable :@would_execute_sql }

0 commit comments

Comments
 (0)