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