test/test_helper.rb in destroyed_at-0.1.4 vs test/test_helper.rb in destroyed_at-0.1.5
- old
+ new
@@ -42,10 +42,10 @@
has_one :show
has_many :fleets
has_many :cars, :through => :fleets, :dependent => :destroy
before_save :increment_counter
- attr_accessor :before_save_count
+ attr_accessor :before_save_count, :nil_attribute
private
def increment_counter
@counter ||= 0