diff --git a/api/spec/requests/spree/api/orders_controller_spec.rb b/api/spec/requests/spree/api/orders_controller_spec.rb index 803a7797f6c..b69493d216e 100644 --- a/api/spec/requests/spree/api/orders_controller_spec.rb +++ b/api/spec/requests/spree/api/orders_controller_spec.rb @@ -557,7 +557,7 @@ module Spree context "order has shipments" do before { order.create_proposed_shipments } - it "clears out all existing shipments on line item udpate" do + it "clears out all existing shipments on line item update" do put spree.api_order_path(order), params: { order: { line_items: { 0 => { id: line_item.id, quantity: 10 } diff --git a/backend/app/views/spree/admin/shipping_categories/index.html.erb b/backend/app/views/spree/admin/shipping_categories/index.html.erb index 92d48176dad..1dd41af965c 100644 --- a/backend/app/views/spree/admin/shipping_categories/index.html.erb +++ b/backend/app/views/spree/admin/shipping_categories/index.html.erb @@ -30,7 +30,7 @@ <%= shipping_category.name %> - <% if can?(:udpate, shipping_category) %> + <% if can?(:update, shipping_category) %> <%= link_to_edit shipping_category, no_text: true %> <% end %>