I can't get fixtures to load correctly in a Mosquito test. The first fixture loads in the unit test, but the rest don't load at all.
File structure: tracker/ tracker.rb test/ test_tracker.rb fixtures/ tracker_measurements.yml tracker_projects.yml Relevant test code: require 'rubygems' require 'mosquito' require File.dirname(__FILE__) + "/../tracker" Tracker.create include Tracker::Models ... class TestMeasurement < Camping::UnitTest fixtures :tracker_measurements, :tracker_projects ... def test_should_have_project measurement = Measurement.find 1 assert_kind_of Project, measurement.project # measurement.project is always nilClass assert_equal measurement.project_id, measurement.project.id end ... end The test.log shows that tracker_measurements.yml is loaded, but tracker_projects.yml never is touched. I know the relationship works because I'm using it in the application already, and I also cannot load any other fixtures, no matter the name. Any help would be greatly appreciated, Josh
_______________________________________________ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list