diff options
author | Jon Leighton <j@jonathanleighton.com> | 2012-04-26 18:32:55 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2012-04-26 18:32:55 +0100 |
commit | 75f03eca753f1e835409a80db1f54f716ef48d18 (patch) | |
tree | 6ef084ea2ee7b44c574096274ab6d5fa7a308235 /activerecord/test/cases/adapters/mysql2 | |
parent | b30996307d3b8d0d519c7ddcfa28fdeed428b602 (diff) | |
download | rails-75f03eca753f1e835409a80db1f54f716ef48d18.tar.gz rails-75f03eca753f1e835409a80db1f54f716ef48d18.tar.bz2 rails-75f03eca753f1e835409a80db1f54f716ef48d18.zip |
remove calls to find(:first), find(:last) and find(:all)
Diffstat (limited to 'activerecord/test/cases/adapters/mysql2')
-rw-r--r-- | activerecord/test/cases/adapters/mysql2/schema_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapters/mysql2/schema_test.rb b/activerecord/test/cases/adapters/mysql2/schema_test.rb index de4d9c2b33..2c0ed73c92 100644 --- a/activerecord/test/cases/adapters/mysql2/schema_test.rb +++ b/activerecord/test/cases/adapters/mysql2/schema_test.rb @@ -20,7 +20,7 @@ module ActiveRecord end def test_schema - assert @omgpost.find(:first) + assert @omgpost.first end def test_primary_key |