diff --git a/app/webpacker/css/admin/components/tooltip.scss b/app/webpacker/css/admin/components/tooltip.scss index 13205329f6..0776542354 100644 --- a/app/webpacker/css/admin/components/tooltip.scss +++ b/app/webpacker/css/admin/components/tooltip.scss @@ -16,6 +16,7 @@ color: #fff; max-width: 240px; white-space: normal; + text-transform: capitalize; } .arrow { diff --git a/spec/system/admin/orders_spec.rb b/spec/system/admin/orders_spec.rb index dc0bba4d67..0cab43a75b 100644 --- a/spec/system/admin/orders_spec.rb +++ b/spec/system/admin/orders_spec.rb @@ -683,7 +683,7 @@ distributors: [distributor4, distributor5]) } # mouse-hovers and finds tooltip find(".icon-road").hover - expect(page).to have_content "SHIP" + expect(page).to have_content "Ship" end within "tr#order_#{order.id}" do @@ -692,7 +692,7 @@ distributors: [distributor4, distributor5]) } # mouse-hovers and finds tooltip find(".icon-capture").hover - expect(page).to have_content "CAPTURE" + expect(page).to have_content "Capture" end end @@ -703,7 +703,7 @@ distributors: [distributor4, distributor5]) } # mouse-hovers and finds tooltip find(".icon-edit").hover - expect(page).to have_content "EDIT" + expect(page).to have_content "Edit" end end end