spree_minicart 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@
|
|
12
12
|
<div data-hook="outside_minicart_form">
|
13
13
|
<div id="minicart-details" data-hook="minicart_details" class="clearfix">
|
14
14
|
<p>
|
15
|
-
<span><%= t(:subtotal) %>: <span class="order-total"><%= order_subtotal(current_order) %></span></span>
|
15
|
+
<span><%= t(:subtotal) %>: <span class="order-total"><%= order_subtotal(current_order.reload) %></span></span>
|
16
16
|
<%= link_to t(:checkout), checkout_path, :class => 'button checkout primary', :id => 'checkout-link' %>
|
17
17
|
</p>
|
18
18
|
</div>
|
@@ -61,7 +61,9 @@ feature "minicart", :js => true do
|
|
61
61
|
|
62
62
|
within("#minicart") do
|
63
63
|
page.should have_content("ror mug")
|
64
|
-
|
64
|
+
within("#minicart-details") do
|
65
|
+
page.should have_content("$60")
|
66
|
+
end
|
65
67
|
end
|
66
68
|
|
67
69
|
page.execute_script '$("#minicart-items li").trigger("mouseenter")'
|