test/test_helper.rb in ahoy_email-0.3.2 vs test/test_helper.rb in ahoy_email-0.4.0
- old
+ new
@@ -8,5 +8,7 @@
Combustion.path = "test/internal"
Combustion.initialize! :all
ActionMailer::Base.delivery_method = :test
+
+ActiveRecord::Base.belongs_to_required_by_default = true if ActiveRecord::VERSION::MAJOR >= 5