Skip to content

Commit

Permalink
Changes for blog url link change
Browse files Browse the repository at this point in the history
Signed-off-by: smriti <[email protected]>
  • Loading branch information
msys-sgarg committed Jul 12, 2021
1 parent bf4a3da commit 85c0aaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/supermarket/app/helpers/custom_url_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def progress_www_url(extra = nil)
end

def chef_blog_url(extra = nil)
url = ENV["CHEF_BLOG_URL"] || "#{chef_www_url}/blog"
url = ENV["CHEF_BLOG_URL"] || "https://blog.chef.io/"
extra_dispatch(url, extra)
end

Expand Down
2 changes: 1 addition & 1 deletion src/supermarket/spec/helpers/custom_url_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

describe "blog url" do
let(:meth) { :chef_blog_url }
let(:url) { "https://www.chef.io/blog" }
let(:url) { "https://blog.chef.io/" }

it "should have a blog url that uses the www url" do
expect(ENV["CHEF_BLOG_URL"]).to be_nil
Expand Down

0 comments on commit 85c0aaa

Please sign in to comment.