From d5cceb1e74d8441f0e99628d22f017bf4457e6c8 Mon Sep 17 00:00:00 2001 From: Matheus Richard Date: Fri, 12 Jan 2024 13:36:03 -0300 Subject: [PATCH] Fix blog post tag --- lib/gold_miner/blog_post.rb | 2 +- spec/gold_miner/blog_post_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/gold_miner/blog_post.rb b/lib/gold_miner/blog_post.rb index 88ecaf4..ffa1868 100644 --- a/lib/gold_miner/blog_post.rb +++ b/lib/gold_miner/blog_post.rb @@ -45,7 +45,7 @@ def title def tags [ - "this-week-in-#{@slack_channel}", + "this week in #{@slack_channel}", *topic_tags ].join(", ") end diff --git a/spec/gold_miner/blog_post_spec.rb b/spec/gold_miner/blog_post_spec.rb index fe20407..c4d4981 100644 --- a/spec/gold_miner/blog_post_spec.rb +++ b/spec/gold_miner/blog_post_spec.rb @@ -20,7 +20,7 @@ expect(result).to eq <<~MARKDOWN --- title: "This week in #design (Sep 30, 2022)" - tags: this-week-in-design, til, tip + tags: this week in design, til, tip teaser: > Highlights of what happened in our #design channel on Slack this week. author: Matheus Richard @@ -97,7 +97,7 @@ def summarize(message) expect(result).to eq <<~MARKDOWN --- title: "This week in #design (Sep 30, 2022)" - tags: this-week-in-design, test, test2 + tags: this week in design, test, test2 teaser: > Highlights of what happened in our #design channel on Slack this week. author: Matheus Richard