aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/fixtures_test.rb')
-rwxr-xr-xactiverecord/test/fixtures_test.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/activerecord/test/fixtures_test.rb b/activerecord/test/fixtures_test.rb
index bbc3e1e5a4..d836e456a2 100755
--- a/activerecord/test/fixtures_test.rb
+++ b/activerecord/test/fixtures_test.rb
@@ -113,22 +113,6 @@ class FixturesTest < ActiveSupport::TestCase
assert first
end
- def test_bad_format
- path = File.join(File.dirname(__FILE__), 'fixtures', 'bad_fixtures')
- Dir.entries(path).each do |file|
- next unless File.file?(file) and file !~ Fixtures::DEFAULT_FILTER_RE
- assert_raise(Fixture::FormatError) {
- Fixture.new(bad_fixtures_path, file)
- }
- end
- end
-
- def test_deprecated_yaml_extension
- assert_raise(Fixture::FormatError) {
- Fixtures.new(nil, 'bad_extension', 'BadExtension', File.join(File.dirname(__FILE__), 'fixtures'))
- }
- end
-
def test_logger_level_invariant
level = ActiveRecord::Base.logger.level
create_fixtures('topics')