search for: first_site

Displaying 1 result from an estimated 1 matches for "first_site".

Did you mean: first_line
2006 Apr 04
1
has_many fails where find_by_sql succeeds
...(select site_id from sites_stock_groups where stock_group_id = #{id}) order by id asc"]) end end class StockGroupTest < Test::Unit::TestCase fixtures :stock_groups, :sites def test_sites_not_using_this_stock_group my_first_site = sites(:my_first_site) # assert that all sites are not in an empty group stock_group = StockGroup.create(:description => "Dummy Stock Group", :dataset_id => 1, :image_source_id => 2) sites = stock_group.sites_not_using_this_stock_group all_sites = Site.fin...