Displaying 1 result from an estimated 1 matches for "teamtest".
Did you mean:
spamtest
2004 Dec 09
3
fixture problem, TypeError: nil is not a symbol
...ures''
./test/unit/../../config/environments/../../vendor/activerecord/lib/active_record/fixtures.rb:234:in
`setup''
Sample Test:
---------------------------------------
require File.dirname(__FILE__) + ''/../test_helper''
require ''team''
class TeamTest < Test::Unit::TestCase
fixtures :teams
# Replace this with your real tests
def test_truth
assert true
end
end
Sample YAML fixture:
---------------------------------------
name: one
data:
id: 1
name: ePen
Sample model:
---------------------------------------
require ...