From 558334a899c15d6af94aa5c8f594c8de27384b95 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 10 May 2011 11:08:10 -0700 Subject: deprecating CSV fixture support --- activerecord/test/cases/fixtures_test.rb | 4 +++- activerecord/test/fixtures/all/people.csv | 0 activerecord/test/fixtures/all/people.yml | 0 3 files changed, 3 insertions(+), 1 deletion(-) delete mode 100644 activerecord/test/fixtures/all/people.csv create mode 100644 activerecord/test/fixtures/all/people.yml (limited to 'activerecord/test') 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 diff --git a/activerecord/test/fixtures/all/people.csv b/activerecord/test/fixtures/all/people.csv deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/activerecord/test/fixtures/all/people.yml b/activerecord/test/fixtures/all/people.yml new file mode 100644 index 0000000000..e69de29bb2 -- cgit v1.2.3