spec/spec_helper.rb in reactor-0.18.0 vs spec/spec_helper.rb in reactor-0.19.0

- old
+ new

@@ -16,9 +16,21 @@ require 'reactor' require 'reactor/testing/matchers' require 'rspec/its' +class ApplicationRecord < ActiveRecord::Base + self.abstract_class = true + include Reactor::Publishable + include Reactor::Subscribable +end + +class Pet < ApplicationRecord +end + +class ArbitraryModel < ApplicationRecord +end + REDIS_URL = ENV["REDISTOGO_URL"] || ENV["REDIS_URL"] || "redis://localhost:6379/4" ActionMailer::Base.delivery_method = :test Sidekiq.configure_server do |config|