Displaying 1 result from an estimated 1 matches for "actsaslist".
Did you mean:
acts_as_list
2007 Aug 15
3
ActsAsList specs
Hi,
How are people specifying models which act_as_list?
I''m thinking that it would be possible to check that acts_as_list
instance methods have been added to a class using something like this:
describe Page, "acts_as_list" do
it "should act as a list" do
Page.ancestors.should be_include(ActiveRecord::Acts::List::InstanceMethods)
end
it "should use