class ActiveSupportSubclassWithFixturesTest

Public Instance Methods

test_foo() click to toggle source

This seemingly useless assertion catches a bug that caused the fixtures setup code call nil[]

# File activerecord/test/cases/fixtures_test.rb, line 1013
def test_foo
  assert_equal parrots(:louis), Parrot.find_by_name("King Louis")
end