From db04f1556edd652b2823cb7b643cba8c6ef3f6df Mon Sep 17 00:00:00 2001 From: Samantaz Fox Date: Wed, 5 Jan 2022 03:42:41 +0100 Subject: [PATCH] Remove spec for playlist continuation --- spec/helpers_spec.cr | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/spec/helpers_spec.cr b/spec/helpers_spec.cr index c1592048..3319252f 100644 --- a/spec/helpers_spec.cr +++ b/spec/helpers_spec.cr @@ -41,16 +41,6 @@ describe "Helper" do end end - describe "#produce_playlist_continuation" do - it "correctly produces ctoken for requesting index `x` of a playlist" do - produce_playlist_continuation("UUCla9fZca4I7KagBtgRGnOw", 100).should eq("4qmFsgJNEhpWTFVVQ2xhOWZaY2E0STdLYWdCdGdSR25PdxoUQ0FGNkJsQlVPa05CUmNJR0FnZ0GaAhhVVUNsYTlmWmNhNEk3S2FnQnRnUkduT3c%3D") - - produce_playlist_continuation("UCCla9fZca4I7KagBtgRGnOw", 200).should eq("4qmFsgJNEhpWTFVDQ2xhOWZaY2E0STdLYWdCdGdSR25PdxoUQ0FGNkJsQlVPa05CU2NJR0FnZ0GaAhhVQ0NsYTlmWmNhNEk3S2FnQnRnUkduT3c%3D") - - produce_playlist_continuation("PL55713C70BA91BD6E", 100).should eq("4qmFsgJDEhRWTFBMNTU3MTNDNzBCQTkxQkQ2RRoUQ0FGNkJsQlVPa05CUmNJR0FnZ0GaAhRVQ1BMNTU3MTNDNzBCQTkxQkQ2RQ%3D%3D") - end - end - describe "#produce_search_params" do it "correctly produces token for searching with specified filters" do produce_search_params.should eq("CAASAhABSAA%3D")