aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/fixtures_test.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-05-10 11:08:10 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2011-05-10 11:08:18 -0700
commit558334a899c15d6af94aa5c8f594c8de27384b95 (patch)
treec0564b053015b419a352587ad5b7146e357708e3 /activerecord/test/cases/fixtures_test.rb
parent714fea81e4843de57431573bc2d2dac9c60e4b88 (diff)
downloadrails-558334a899c15d6af94aa5c8f594c8de27384b95.tar.gz
rails-558334a899c15d6af94aa5c8f594c8de27384b95.tar.bz2
rails-558334a899c15d6af94aa5c8f594c8de27384b95.zip
deprecating CSV fixture support
Diffstat (limited to 'activerecord/test/cases/fixtures_test.rb')
-rw-r--r--activerecord/test/cases/fixtures_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/activerecord/test/cases/fixtures_test.rb b/activerecord/test/cases/fixtures_test.rb
index 2bf192e2c6..b0bd9c5763 100644
--- a/activerecord/test/cases/fixtures_test.rb
+++ b/activerecord/test/cases/fixtures_test.rb
@@ -175,7 +175,9 @@ class FixturesTest < ActiveRecord::TestCase
end
def test_empty_csv_fixtures
- assert_not_nil ActiveRecord::Fixtures.new( Account.connection, "accounts", 'Account', FIXTURES_ROOT + "/naked/csv/accounts")
+ assert_deprecated do
+ assert_not_nil ActiveRecord::Fixtures.new( Account.connection, "accounts", 'Account', FIXTURES_ROOT + "/naked/csv/accounts")
+ end
end
def test_omap_fixtures