diff options
author | Alexander Baronec <abonec@gmail.com> | 2016-08-31 18:25:03 +0300 |
---|---|---|
committer | Alexander Baronec <abonec@gmail.com> | 2016-10-08 08:50:42 +0300 |
commit | 95ff347b1743b6c7d8100ced81fb7b88a3cc2c8f (patch) | |
tree | 7b54b06e532dcd8b354bd7362739695212f04ba9 /test/support | |
parent | 83d301f30eb95740f20d91a448b7bc407858fc72 (diff) | |
download | rails-95ff347b1743b6c7d8100ced81fb7b88a3cc2c8f.tar.gz rails-95ff347b1743b6c7d8100ced81fb7b88a3cc2c8f.tar.bz2 rails-95ff347b1743b6c7d8100ced81fb7b88a3cc2c8f.zip |
use #data_source_exists? instead of deprecated #table_exists?
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 |