about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-08-21 17:32:41 +0200
committerGitHub <noreply@github.com>2017-08-21 17:32:41 +0200
commit3534e115e5127f12292a84442b46ce93643c6d0d (patch)
treedbfe60842ddc837defb61a087b078cda8c207636 /spec
parentea958cae7f6c960bdb54214c12de2083ab0e25b0 (diff)
Do not try to re-subscribe to unsubscribed accounts (#4653)
Diffstat (limited to 'spec')
-rw-r--r--spec/models/account_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/models/account_spec.rb b/spec/models/account_spec.rb
index eeaebb779..aef0c3082 100644
--- a/spec/models/account_spec.rb
+++ b/spec/models/account_spec.rb
@@ -642,7 +642,6 @@ RSpec.describe Account, type: :model do
       it 'returns remote accounts with followers whose subscription expiration date is past or not given' do
         local = Fabricate(:account, domain: nil)
         matches = [
-          { domain: 'remote', subscription_expires_at: nil },
           { domain: 'remote', subscription_expires_at: '2000-01-01T00:00:00Z' },
         ].map(&method(:Fabricate).curry(2).call(:account))
         matches.each(&local.method(:follow!))