diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2022-01-05 17:20:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-05 17:20:57 +0100 |
| commit | 3bb7fbb2f119790ee6675076b31cd990f75f64bb (patch) | |
| tree | 29b767e010af47ab179ffd56b146c2fc436dcbdf /spec/helpers_spec.cr | |
| parent | 326a362eb892b1e6a60413b701a61e364f53c485 (diff) | |
| parent | db04f1556edd652b2823cb7b643cba8c6ef3f6df (diff) | |
| download | invidious-3bb7fbb2f119790ee6675076b31cd990f75f64bb.tar.gz invidious-3bb7fbb2f119790ee6675076b31cd990f75f64bb.tar.bz2 invidious-3bb7fbb2f119790ee6675076b31cd990f75f64bb.zip | |
Merge pull request #2719 from SamantazFox/batch-minor-fixes
Multiple minor fixes
Diffstat (limited to 'spec/helpers_spec.cr')
| -rw-r--r-- | spec/helpers_spec.cr | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/helpers_spec.cr b/spec/helpers_spec.cr index 4215b2bd..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("4qmFsgJNEhpWTFVVQ2xhOWZaY2E0STdLYWdCdGdSR25PdxoUQ0FGNkJsQlVPa05IVVElM0QlM0SaAhhVVUNsYTlmWmNhNEk3S2FnQnRnUkduT3c%3D") - - produce_playlist_continuation("UCCla9fZca4I7KagBtgRGnOw", 200).should eq("4qmFsgJLEhpWTFVVQ2xhOWZaY2E0STdLYWdCdGdSR25PdxoSQ0FKNkIxQlVPa05OWjBJJTNEmgIYVVVDbGE5ZlpjYTRJN0thZ0J0Z1JHbk93") - - produce_playlist_continuation("PL55713C70BA91BD6E", 100).should eq("4qmFsgJBEhRWTFBMNTU3MTNDNzBCQTkxQkQ2RRoUQ0FGNkJsQlVPa05IVVElM0QlM0SaAhJQTDU1NzEzQzcwQkE5MUJENkU%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") |
