Skip to content

Commit

Permalink
Change instances of "udpate" to "update"
Browse files Browse the repository at this point in the history
  • Loading branch information
David Sojevic committed Jan 26, 2018
1 parent 51253a8 commit 63344e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/spec/requests/spree/api/orders_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<tr id="<%= spree_dom_id shipping_category %>" data-hook="category_row">
<td><%= shipping_category.name %></td>
<td class="actions">
<% if can?(:udpate, shipping_category) %>
<% if can?(:update, shipping_category) %>
<%= link_to_edit shipping_category, no_text: true %>
<% end %>

Expand Down

0 comments on commit 63344e5

Please sign in to comment.