Permalink
Browse files

Mysql and Mysql2 adapters accepts only two arguments in the tables

  • Loading branch information...
1 parent 8e6ed58 commit 3e2c00a1dc85b85fcb818c4f8de3562a746548a5 @rafaelfranca rafaelfranca committed Jun 11, 2012
View
2 activerecord/test/cases/adapters/mysql/mysql_adapter_test.rb
@@ -54,7 +54,7 @@ def test_exec_insert_string
def test_tables_quoting
begin
- @conn.tables(nil, "foo-bar", nil)
+ @conn.tables(nil, "foo-bar")
flunk
rescue => e
# assertion for *quoted* database properly
View
2 activerecord/test/cases/adapters/mysql2/schema_test.rb
@@ -38,7 +38,7 @@ def test_table_exists_wrong_schema
def test_tables_quoting
begin
- @connection.tables(nil, "foo-bar", nil)
+ @connection.tables(nil, "foo-bar")
flunk
rescue => e
# assertion for *quoted* database properly

0 comments on commit 3e2c00a

Please sign in to comment.