spec/shared/app_root/app/models/model.rb in rspec_candy-0.2.7 vs spec/shared/app_root/app/models/model.rb in rspec_candy-0.2.8
- old
+ new
@@ -2,9 +2,11 @@
after_create :after_create_callback
after_save :after_save_callback1, :after_save_callback2
before_save :before_save_callback1, :before_save_callback2
+ belongs_to :associated_model, :class_name => 'Model'
+
if respond_to? :around_save
around_save :around_save_callback1, :around_save_callback2
end
def after_create_callback; end