From 821ed237998642029f283e374e46f16aad3c31e1 Mon Sep 17 00:00:00 2001 From: Panayotis Matsinopoulos Date: Mon, 23 Oct 2017 15:59:08 +0300 Subject: [PATCH] Use the CategoryHashtag::SEPARATOR (#5258) Use the CategoryHashtag::SEPARATOR like in the previous examples. --- spec/components/concern/category_hashtag_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/components/concern/category_hashtag_spec.rb b/spec/components/concern/category_hashtag_spec.rb index c57ac891633..d058ef1af9e 100644 --- a/spec/components/concern/category_hashtag_spec.rb +++ b/spec/components/concern/category_hashtag_spec.rb @@ -28,7 +28,7 @@ describe CategoryHashtag do child_category.update_attributes!(slug: "OraNGE") expect(Category.query_from_hashtag_slug("apple")).to eq(nil) - expect(Category.query_from_hashtag_slug("apple:orange")).to eq(nil) + expect(Category.query_from_hashtag_slug("apple#{CategoryHashtag::SEPARATOR}orange")).to eq(nil) end end end