diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-10-10 01:17:23 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-10 01:17:23 -0300 |
commit | 7df9f4221193df14374152dc19af2a32721b3028 (patch) | |
tree | 7b54b06e532dcd8b354bd7362739695212f04ba9 /test/support | |
parent | 83d301f30eb95740f20d91a448b7bc407858fc72 (diff) | |
parent | 95ff347b1743b6c7d8100ced81fb7b88a3cc2c8f (diff) | |
download | rails-7df9f4221193df14374152dc19af2a32721b3028.tar.gz rails-7df9f4221193df14374152dc19af2a32721b3028.tar.bz2 rails-7df9f4221193df14374152dc19af2a32721b3028.zip |
Merge pull request #446 from abonec/deprecated_table_exists
use #data_source_exists? if possible instead of deprecated #table_exi…
Diffstat (limited to 'test/support')
-rw-r--r-- | test/support/fake_record.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/support/fake_record.rb b/test/support/fake_record.rb index 035a7a46cf..3d4c7d5630 100644 --- a/test/support/fake_record.rb +++ b/test/support/fake_record.rb @@ -39,7 +39,7 @@ module FakeRecord @primary_keys[name.to_s] end - def table_exists? name + def data_source_exists? name @tables.include? name.to_s end |