Displaying 1 result from an estimated 1 matches for "ftsq1ey501zbnwxe1ura6a".
2005 Dec 20
0
Problem destroying in unit tests with HABTM
...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.categories.empty?
@intl_image.save
@intl_image.reload
@img = Asset.find(@intl_image.id)
-ftsq1ey501zBNWXE1URa6A@public.gmane.org
assert_raise(ActiveRecord::RecordNotFound){Asset.find(@intl_image.id)}
end
Any help is greatly appreciated.
Thanks,
Mark
--
--------------------------------------------------------------------
I am Mark Daggett and I approve this message.