0
0
Fork 0

Revert "Use PostgreSQL inheritance for blocks and mutes (#2520)" (#2634)

This reverts commit 5135d609b7.
This commit is contained in:
Akihiko Odaki 2017-04-30 21:49:24 +09:00 committed by Matt Jankowski
parent 4a5f73c8ae
commit a6788662b0
7 changed files with 12 additions and 43 deletions

View file

@ -152,7 +152,7 @@ RSpec.describe AtomSerializer do
describe '#block_salmon' do
let(:xml) do
block = Fabricate(:block, account: author, target_account: receiver, block: true)
block = Fabricate(:block, account: author, target_account: receiver)
xml = AtomSerializer.render(AtomSerializer.new.block_salmon(block))
block.destroy
xml
@ -171,7 +171,7 @@ RSpec.describe AtomSerializer do
describe '#unblock_salmon' do
let(:xml) do
block = Fabricate(:block, account: author, target_account: receiver, block: true)
block = Fabricate(:block, account: author, target_account: receiver)
block.destroy
xml = AtomSerializer.render(AtomSerializer.new.unblock_salmon(block))
author.block!(receiver)