diff options
author | Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> | 2017-04-30 21:49:24 +0900 |
---|---|---|
committer | Matt Jankowski <mjankowski@thoughtbot.com> | 2017-04-30 08:49:24 -0400 |
commit | a6788662b09164cfbaf1cebe6c8abc5123452285 (patch) | |
tree | 695c32806c43416f16aea7dd73c507ed42799ca2 /spec/models/account_spec.rb | |
parent | 4a5f73c8aef7500a0efe7d800447e288674bf54a (diff) |
Revert "Use PostgreSQL inheritance for blocks and mutes (#2520)" (#2634)
This reverts commit 5135d609b774b177d3d3894b176a822d86b73d3c.
Diffstat (limited to 'spec/models/account_spec.rb')
-rw-r--r-- | spec/models/account_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/account_spec.rb b/spec/models/account_spec.rb index b4481aaed..157db633a 100644 --- a/spec/models/account_spec.rb +++ b/spec/models/account_spec.rb @@ -193,9 +193,9 @@ RSpec.describe Account, type: :model do describe '#excluded_from_timeline_account_ids' do it 'includes account ids of blockings, blocked_bys and mutes' do account = Fabricate(:account) - block = Fabricate(:block, account: account, block: true) - mute = Fabricate(:mute, account: account, block: false) - block_by = Fabricate(:block, target_account: account, block: true) + block = Fabricate(:block, account: account) + mute = Fabricate(:mute, account: account) + block_by = Fabricate(:block, target_account: account) results = account.excluded_from_timeline_account_ids expect(results.size).to eq 3 |