diff options
author | Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> | 2017-04-30 07:27:31 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-04-30 00:27:31 +0200 |
commit | 5135d609b774b177d3d3894b176a822d86b73d3c (patch) | |
tree | d0c2d75383518ab63fa80df617dd62bec25bba89 /spec/lib | |
parent | f48cb3eb170314cba1938522c0da44af21d47e83 (diff) |
Use PostgreSQL inheritance for blocks and mutes (#2520)
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/atom_serializer_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/atom_serializer_spec.rb b/spec/lib/atom_serializer_spec.rb index cfca82a28..345285a7a 100644 --- a/spec/lib/atom_serializer_spec.rb +++ b/spec/lib/atom_serializer_spec.rb @@ -152,7 +152,7 @@ RSpec.describe AtomSerializer do describe '#block_salmon' do let(:xml) do - block = Fabricate(:block, account: author, target_account: receiver) + block = Fabricate(:block, account: author, target_account: receiver, block: true) 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 = Fabricate(:block, account: author, target_account: receiver, block: true) block.destroy xml = AtomSerializer.render(AtomSerializer.new.unblock_salmon(block)) author.block!(receiver) |