Update `block` spec. 1 failure
This commit is contained in:
parent
9d3039554e
commit
5c4a312376
|
@ -1,9 +1,9 @@
|
||||||
author @PPJQ3Q36W258VQ1NKYY2G7VW24J8NMAACHXCD83GCQ3K8F4C9X2G.ed25519
|
author @PZ1R38E146JX8H6ZMQ6F2EFA2FSCGX7BEF2W79S665Z9NT2VYNKG.ed25519
|
||||||
kind theSlowestWayToSendAMessageEver
|
kind nonsense
|
||||||
prev %K2EKKRFA5F34VG9JSW17SS5HNQAKZTTNP6A9DVR2ZBPG8GME3QVG.sha256
|
prev NONE
|
||||||
depth 2
|
depth 0
|
||||||
lipmaa 1
|
lipmaa NONE
|
||||||
|
|
||||||
yo_dawg:"i heard you like gossip protocols"
|
example:"Just block me"
|
||||||
|
|
||||||
signature QM8ERCNP4NM4Y3PY09EWVCWJ6MJKPRN67EX4P8MN6DE47BZSG4M3XXCT3JWVRR7D0232Z5HYCQ5J8744JNFBYXFN8JGXM0R0ZESSR2R.sig.ed25519
|
signature HG1PCKWXN5FCSC6B3VK732YAAPGPMBVZXJ2HVE7HGA0W4TBNCS8JZVQ54MXM4GHFACNYBC6PC0FQ13YQTTK36SH0ZZ1BBEX3VNYHW00.sig.ed25519
|
||||||
|
|
|
@ -41,7 +41,7 @@ RSpec.describe Pigeon::Message do
|
||||||
|
|
||||||
it "does not ingest messages from blocked peers" do
|
it "does not ingest messages from blocked peers" do
|
||||||
db.reset_database
|
db.reset_database
|
||||||
antagonist = "@PPJQ3Q36W258VQ1NKYY2G7VW24J8NMAACHXCD83GCQ3K8F4C9X2G.ed25519"
|
antagonist = "@PZ1R38E146JX8H6ZMQ6F2EFA2FSCGX7BEF2W79S665Z9NT2VYNKG.ed25519"
|
||||||
db.block_peer(antagonist)
|
db.block_peer(antagonist)
|
||||||
db.import_bundle("./spec/fixtures/x")
|
db.import_bundle("./spec/fixtures/x")
|
||||||
expect(db.all_messages.count).to eq(0)
|
expect(db.all_messages.count).to eq(0)
|
||||||
|
|
Loading…
Reference in New Issue