module Shoulda::Macros

def should_destroy(class_name)

end
should_destroy :post
setup { Post.first.destroy }
context "destroying a post" do

Example:

destroyed.
Macro that creates a test asserting that a record of the given class was
def should_destroy(class_name)
  should_change_record_count_of(class_name, -1, 'destroy')
end