Remove unused variables

Usage of `adapter` variable was removed in: b39c8c9
This commit is contained in:
Kostas Karachalios 2014-12-04 22:27:30 +01:00
parent b8cad71004
commit 84099ffb48
4 changed files with 3 additions and 12 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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