summaryrefslogtreecommitdiffstats
path: root/spec/helpers_spec.cr
diff options
context:
space:
mode:
authorOmar Roth <omarroth@protonmail.com>2019-05-28 10:04:11 -0500
committerOmar Roth <omarroth@protonmail.com>2019-05-28 10:04:11 -0500
commit2aca57cb82010a417622c41341947e9b2b708f99 (patch)
treecbd60beec73124363fd2f78cb99d6d69dd4163a5 /spec/helpers_spec.cr
parentd68baf08cb8f130426a1a5e9a21ec53af7f03acd (diff)
downloadinvidious-2aca57cb82010a417622c41341947e9b2b708f99.tar.gz
invidious-2aca57cb82010a417622c41341947e9b2b708f99.tar.bz2
invidious-2aca57cb82010a417622c41341947e9b2b708f99.zip
Update specs
Diffstat (limited to 'spec/helpers_spec.cr')
-rw-r--r--spec/helpers_spec.cr4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers_spec.cr b/spec/helpers_spec.cr
index 215ffc76..41a55a9c 100644
--- a/spec/helpers_spec.cr
+++ b/spec/helpers_spec.cr
@@ -10,7 +10,7 @@ require "../src/invidious/playlists"
require "../src/invidious/search"
require "../src/invidious/users"
-describe "Helpers" do
+describe "Helper" do
describe "#produce_channel_videos_url" do
it "correctly produces url for requesting page `x` of a channel's videos" do
produce_channel_videos_url(ucid: "UCXuqSBlHAE6Xw-yeJA0Tunw").should eq("/browse_ajax?continuation=4qmFsgI8EhhVQ1h1cVNCbEhBRTZYdy15ZUpBMFR1bncaIEVnWjJhV1JsYjNNd0FqZ0JZQUZxQUxnQkFDQUFlZ0V4&gl=US&hl=en")
@@ -93,7 +93,7 @@ describe "Helpers" do
":subscriptions/*",
"GET:tokens*",
],
- "signature" => "f//2hS20th8pALF305PJFK+D2aVtvefNnQheILHD2vU=",
+ "signature" => "f__2hS20th8pALF305PJFK-D2aVtvefNnQheILHD2vU=",
}
sign_token("SECRET_KEY", token).should eq(token["signature"])