Sha256: 55e5b4557cafb89b7216cef4ab742f36053d0bf8beef538689585751442b4656

Contents?: true

Size: 345 Bytes

Versions: 23

Compression:

Stored size: 345 Bytes

Contents

require 'spec_helper'

module Sipity
  RSpec.describe NotificationRecipient, type: :model, no_clean: true do
    subject { described_class.new }
    it 'will raise an ArgumentError if you provide an invalid recipient_strategy' do
      expect { subject.recipient_strategy = '__incorrect_name__' }.to raise_error(ArgumentError)
    end
  end
end

Version data entries

23 entries across 23 versions & 3 rubygems

Version Path
hyrax-1.1.1 spec/models/sipity/notification_recipient_spec.rb
hyrax-1.1.0 spec/models/sipity/notification_recipient_spec.rb
hyrax-1.0.5 spec/models/sipity/notification_recipient_spec.rb
curation_concerns-1.7.8 spec/models/sipity/notification_recipient_spec.rb
hyrax-1.0.4 spec/models/sipity/notification_recipient_spec.rb
hyrax-1.0.3 spec/models/sipity/notification_recipient_spec.rb
hyrax-1.0.2 spec/models/sipity/notification_recipient_spec.rb
hyrax-1.0.1 spec/models/sipity/notification_recipient_spec.rb
hyrax-1.0.0.rc2 spec/models/sipity/notification_recipient_spec.rb
curation_concerns-1.7.7 spec/models/sipity/notification_recipient_spec.rb
curation_concerns-2.0.0 spec/models/sipity/notification_recipient_spec.rb
curation_concerns-2.0.0.rc2 spec/models/sipity/notification_recipient_spec.rb
hyrax-1.0.0.rc1 spec/models/sipity/notification_recipient_spec.rb
curation_concerns-1.7.6 spec/models/sipity/notification_recipient_spec.rb
curation_concerns-1.7.5 spec/models/sipity/notification_recipient_spec.rb
test_hyrax-0.0.1.alpha spec/models/sipity/notification_recipient_spec.rb
curation_concerns-1.7.4 spec/models/sipity/notification_recipient_spec.rb
curation_concerns-1.7.3 spec/models/sipity/notification_recipient_spec.rb
curation_concerns-1.7.2 spec/models/sipity/notification_recipient_spec.rb
curation_concerns-2.0.0.rc1 spec/models/sipity/notification_recipient_spec.rb