spec/models/sipity/notification_recipient_spec.rb in hyrax-1.1.1 vs spec/models/sipity/notification_recipient_spec.rb in hyrax-2.0.0.beta1

- old
+ new

@@ -1,9 +1,8 @@ -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