Sha256: a7737b6daade41495975c85e81c1d7eb1ead6981f9e00336f10b29d670bf08de

Contents?: true

Size: 555 Bytes

Versions: 17

Compression:

Stored size: 555 Bytes

Contents

unless ENV['AN_TEST_DB'] == 'mongodb'
  class Dummy::DummySubscriber < ActiveRecord::Base
    self.table_name = :users
    acts_as_target email: 'dummy@example.com', email_allowed: true, batch_email_allowed: true, subscription_allowed: true
  end
else
  class Dummy::DummySubscriber
    include Mongoid::Document
    include Mongoid::Timestamps
    include GlobalID::Identification
    include ActivityNotification::Models
    acts_as_target email: 'dummy@example.com', email_allowed: true, batch_email_allowed: true, subscription_allowed: true
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
activity_notification-2.3.3 spec/rails_app/app/models/dummy/dummy_subscriber.rb
activity_notification-2.3.2 spec/rails_app/app/models/dummy/dummy_subscriber.rb
activity_notification-2.3.1 spec/rails_app/app/models/dummy/dummy_subscriber.rb
activity_notification-2.3.0 spec/rails_app/app/models/dummy/dummy_subscriber.rb
activity_notification-2.2.4 spec/rails_app/app/models/dummy/dummy_subscriber.rb
activity_notification-2.2.3 spec/rails_app/app/models/dummy/dummy_subscriber.rb
activity_notification-2.2.2 spec/rails_app/app/models/dummy/dummy_subscriber.rb
activity_notification-2.2.1 spec/rails_app/app/models/dummy/dummy_subscriber.rb
activity_notification-2.2.0 spec/rails_app/app/models/dummy/dummy_subscriber.rb
activity_notification-2.1.4 spec/rails_app/app/models/dummy/dummy_subscriber.rb
activity_notification-2.1.3 spec/rails_app/app/models/dummy/dummy_subscriber.rb
activity_notification-2.1.2 spec/rails_app/app/models/dummy/dummy_subscriber.rb
activity_notification-2.1.1 spec/rails_app/app/models/dummy/dummy_subscriber.rb
activity_notification-2.1.0 spec/rails_app/app/models/dummy/dummy_subscriber.rb
activity_notification-2.0.0 spec/rails_app/app/models/dummy/dummy_subscriber.rb
activity_notification-1.7.1 spec/rails_app/app/models/dummy/dummy_subscriber.rb
activity_notification-1.7.0 spec/rails_app/app/models/dummy/dummy_subscriber.rb