Skip to content

Commit

Permalink
Fix failing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ShimShtein authored and evgeni committed Nov 12, 2024
1 parent c370487 commit 4530108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/documentation_controller_branding_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class DocumentationControllerBrandingTest < ActionDispatch::IntegrationTest
def test_docs_redirect_branded
get "/links/docs/Managing_Hosts?chapter=registering-a-host_managing-hosts"

assert_redirected_to "https://docs.redhat.com/documentation/en-us/red_hat_satellite/#{ForemanThemeSatellite.documentation_version}/html/managing_hosts/registering_hosts_to_server_managing-hosts#Registering_Hosts_by_Using_Global_Registration_managing-hosts"
assert_redirected_to "https://docs.redhat.com/documentation/en-us/red_hat_satellite/#{ForemanThemeSatellite.documentation_version}/html/managing_hosts/registering-hosts-and-setting-up-host-integration_managing-hosts#Registering_Hosts_by_Using_Global_Registration_managing-hosts"
end

def test_docs_redirect_unknown_chapter
Expand Down

0 comments on commit 4530108

Please sign in to comment.