search for: assets_categori

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

Did you mean: assets_categories
2005 Dec 20
0
Problem destroying in unit tests with HABTM
...ansactions.rb:91:in `transaction c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.1/lib/active_record/transactions.rb:118:in `transactio c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.1/lib/active_record/transactions.rb:122:in `destroy'' I have a category table an asset table and an assets_categories table My destroy unit tests looks like this: def test_destroy #check to ensure asset belongs to categories assert_equal false, @intl_image.categories.empty? @intl_image.categories.clear #check to ensure the asset now belongs to no categories assert_equal true, @intl_image....