diff --git a/src/supermarket/app/views/cookbooks/directory.html.erb b/src/supermarket/app/views/cookbooks/directory.html.erb index 332cddb695..b40bf37981 100644 --- a/src/supermarket/app/views/cookbooks/directory.html.erb +++ b/src/supermarket/app/views/cookbooks/directory.html.erb @@ -107,7 +107,7 @@
  • - <%= link_to 'Chef Development Kit (Chef DK)', chef_downloads_url('chef-dk') %> + <%= link_to 'Chef Workstation', chef_downloads_url('tools/workstation') %>
  • diff --git a/src/supermarket/spec/views/cookbooks/directory.html.erb_spec.rb b/src/supermarket/spec/views/cookbooks/directory.html.erb_spec.rb index f7dc57ff4d..2534f21cf5 100644 --- a/src/supermarket/spec/views/cookbooks/directory.html.erb_spec.rb +++ b/src/supermarket/spec/views/cookbooks/directory.html.erb_spec.rb @@ -14,5 +14,10 @@ expect(rendered).to have_selector("a[href]", text: test_kitchen_text) end + it "has chefdk link pointing to correct url" do + render + expect(rendered).to have_link("Chef Workstation", href: "https://downloads.chef.io/tools/workstation") + end + it_behaves_like "community stats" end