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>
@@ -1,3 +1,3 @@
1
1
  module SpreeMinicart
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
@@ -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
- page.should have_content("$30")
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")'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_minicart
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: