Update `block` spec. 1 failure

This commit is contained in:
Netscape Navigator 2020-05-12 07:16:11 -05:00
parent 9d3039554e
commit 5c4a312376
2 changed files with 8 additions and 8 deletions

View File

@ -1,9 +1,9 @@
author @PPJQ3Q36W258VQ1NKYY2G7VW24J8NMAACHXCD83GCQ3K8F4C9X2G.ed25519
kind theSlowestWayToSendAMessageEver
prev %K2EKKRFA5F34VG9JSW17SS5HNQAKZTTNP6A9DVR2ZBPG8GME3QVG.sha256
depth 2
lipmaa 1
author @PZ1R38E146JX8H6ZMQ6F2EFA2FSCGX7BEF2W79S665Z9NT2VYNKG.ed25519
kind nonsense
prev NONE
depth 0
lipmaa NONE
yo_dawg:"i heard you like gossip protocols"
example:"Just block me"
signature QM8ERCNP4NM4Y3PY09EWVCWJ6MJKPRN67EX4P8MN6DE47BZSG4M3XXCT3JWVRR7D0232Z5HYCQ5J8744JNFBYXFN8JGXM0R0ZESSR2R.sig.ed25519
signature HG1PCKWXN5FCSC6B3VK732YAAPGPMBVZXJ2HVE7HGA0W4TBNCS8JZVQ54MXM4GHFACNYBC6PC0FQ13YQTTK36SH0ZZ1BBEX3VNYHW00.sig.ed25519

View File

@ -41,7 +41,7 @@ RSpec.describe Pigeon::Message do
it "does not ingest messages from blocked peers" do
db.reset_database
antagonist = "@PPJQ3Q36W258VQ1NKYY2G7VW24J8NMAACHXCD83GCQ3K8F4C9X2G.ed25519"
antagonist = "@PZ1R38E146JX8H6ZMQ6F2EFA2FSCGX7BEF2W79S665Z9NT2VYNKG.ed25519"
db.block_peer(antagonist)
db.import_bundle("./spec/fixtures/x")
expect(db.all_messages.count).to eq(0)