Displaying 1 result from an estimated 1 matches for "tracker_project".
Did you mean:
tracker_projects
2007 Jun 27
5
Mosquito Fixtures Won''t Load
...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...