diff options
Diffstat (limited to 'spec/validators/poll_validator_spec.rb')
-rw-r--r-- | spec/validators/poll_validator_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/validators/poll_validator_spec.rb b/spec/validators/poll_validator_spec.rb index 941b83401..a76c63ccc 100644 --- a/spec/validators/poll_validator_spec.rb +++ b/spec/validators/poll_validator_spec.rb @@ -20,6 +20,7 @@ RSpec.describe PollValidator, type: :validator do context 'expires just 5 min ago' do let(:expires_at) { 5.minutes.from_now } + it 'not calls errors add' do expect(errors).not_to have_received(:add) end |