Yes, this is ActiveRecord without Rails again.
Specifically testing with fixtures.
I’m stuck making them work and I know exactly where the code is checking
out and leaving me in the dark.
Now, the following will not load the fixtures and I want to know why.
create_table :entries do |t|
t.column :txt, :string
Use the following in an entries.yml:
txt: “new entry”
txt: “old entry”
I’m using active record 1.15.3. I followed the call chain all the way to
a check in Test::Unit::testCase#setup_with_fixtures.
The first line in that method is
return unless defined?(ActiveRecord::Base) &&
and the configurations are ofcourse blank
So what am I missing? Obviously I need to recreate some more of that