diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-05-19 21:53:44 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-05-19 21:53:44 +0200 |
commit | 08a2af27c3353555d729255fc42f6d49af20ed52 (patch) | |
tree | f163dea0261fa79ca2052cd243ec9ac502b53cd2 /spec | |
parent | 46811f92e4b1705da5bb52e0e9e4e9e59ea1a15e (diff) | |
parent | ae1838655876363065dd062a21064d385a90eb33 (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'spec')
-rw-r--r-- | spec/validators/blacklisted_email_validator_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/validators/blacklisted_email_validator_spec.rb b/spec/validators/blacklisted_email_validator_spec.rb index 84b0107dd..ccc5dc0f4 100644 --- a/spec/validators/blacklisted_email_validator_spec.rb +++ b/spec/validators/blacklisted_email_validator_spec.rb @@ -8,7 +8,7 @@ RSpec.describe BlacklistedEmailValidator, type: :validator do let(:errors) { double(add: nil) } before do - allow(user).to receive(:invited?) { false } + allow(user).to receive(:valid_invitation?) { false } allow_any_instance_of(described_class).to receive(:blocked_email?) { blocked_email } described_class.new.validate(user) end |