Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed link for chef dk in directory file #2030

Conversation

msys-sgarg
Copy link
Contributor

Signed-off-by: smriti sgarg@msystechnologies.com

Chef Development Kit(Chef-DK) on cookbooks-directory page was pointing to wrong link. Corrected the same

Description

Chef DK link now points to https://downloads.chef.io/tools/workstation as was mentioned in the issue

Related Issue

#1975

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • I have read the CONTRIBUTING document.
  • I have run the pre-merge tests locally and they pass.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • All commits have been signed-off for the Developer Certificate of Origin.

@msys-sgarg msys-sgarg added the Status: Sustaining Backlog An issue ideal for the Sustaining Engineering team (or anyone else if they want to adopt it). label Jul 6, 2021
@msys-sgarg msys-sgarg self-assigned this Jul 6, 2021
@@ -107,7 +107,7 @@
</li>

<li>
<%= link_to 'Chef Development Kit (Chef DK)', chef_downloads_url('chef-dk') %>
<%= link_to 'Chef Development Kit (Chef DK)', chef_downloads_url('tools/workstation') %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<%= link_to 'Chef Development Kit (Chef DK)', chef_downloads_url('tools/workstation') %>
<%= link_to 'Chef Workstation', chef_downloads_url('tools/workstation') %>

@@ -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 Development Kit (Chef DK)", href: "https://downloads.chef.io/tools/workstation")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
expect(rendered).to have_link("Chef Development Kit (Chef DK)", href: "https://downloads.chef.io/tools/workstation")
expect(rendered).to have_link("Chef Workstation", href: "https://downloads.chef.io/tools/workstation")

Copy link
Contributor

@tas50 tas50 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update text as well

@msys-sgarg msys-sgarg force-pushed the smriti/1975_switch_link_chef_dk_cookbooks_directory branch from 82d5798 to 1254c19 Compare July 6, 2021 15:21
@msys-sgarg
Copy link
Contributor Author

Update text as well

@tas50 Did the same please check

@@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
it "has chefdk link pointing to correct url" do
it "has Workstation link pointing to correct url" do

Copy link
Contributor

@tas50 tas50 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 more change

Signed-off-by: smriti <sgarg@msystechnologies.com>
@msys-sgarg msys-sgarg force-pushed the smriti/1975_switch_link_chef_dk_cookbooks_directory branch from 1254c19 to 349c218 Compare July 6, 2021 15:35
@tas50 tas50 merged commit ba73cd6 into chef:master Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Sustaining Backlog An issue ideal for the Sustaining Engineering team (or anyone else if they want to adopt it).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants