mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
Remove unused variables
Usage of `adapter` variable was removed in: b39c8c9
This commit is contained in:
parent
b8cad71004
commit
84099ffb48
4 changed files with 3 additions and 12 deletions
|
@ -9,7 +9,6 @@ module ActiveRecord
|
|||
describe do
|
||||
before(:all) { active_record_mysql2_setup }
|
||||
|
||||
let(:adapter) { Mysql2Adapter }
|
||||
let(:connection) { active_record_mysql2_connection }
|
||||
|
||||
describe "#truncate_table" do
|
||||
|
@ -31,7 +30,6 @@ module ActiveRecord
|
|||
end
|
||||
|
||||
it_behaves_like "an adapter with pre-count truncation" do
|
||||
let(:adapter) { Mysql2Adapter }
|
||||
let(:connection) { active_record_mysql2_connection }
|
||||
end
|
||||
end
|
||||
|
|
|
@ -9,7 +9,6 @@ module ActiveRecord
|
|||
describe do
|
||||
before(:all) { active_record_mysql_setup }
|
||||
|
||||
let(:adapter) { MysqlAdapter }
|
||||
let(:connection) { active_record_mysql_connection }
|
||||
|
||||
describe "#truncate_table" do
|
||||
|
@ -31,7 +30,6 @@ module ActiveRecord
|
|||
end
|
||||
|
||||
it_behaves_like "an adapter with pre-count truncation" do
|
||||
let(:adapter) { MysqlAdapter }
|
||||
let(:connection) { active_record_mysql_connection }
|
||||
end
|
||||
end
|
||||
|
|
|
@ -9,8 +9,6 @@ module ActiveRecord
|
|||
describe do
|
||||
before(:all) { active_record_pg_setup }
|
||||
|
||||
let(:adapter) { PostgreSQLAdapter }
|
||||
|
||||
let(:connection) do
|
||||
active_record_pg_connection
|
||||
end
|
||||
|
@ -38,7 +36,6 @@ module ActiveRecord
|
|||
end
|
||||
|
||||
it_behaves_like "an adapter with pre-count truncation" do
|
||||
let(:adapter) { PostgreSQLAdapter }
|
||||
let(:connection) { active_record_pg_connection }
|
||||
end
|
||||
|
||||
|
|
|
@ -8,8 +8,6 @@ module ActiveRecord
|
|||
describe do
|
||||
before(:all) { active_record_sqlite3_setup }
|
||||
|
||||
let(:adapter) { SQLite3Adapter }
|
||||
|
||||
let(:connection) do
|
||||
active_record_sqlite3_connection
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue