diff --git a/spec/features/consumer/shopping/cart_spec.rb b/spec/features/consumer/shopping/cart_spec.rb index 138c6de022..3f1d78c215 100644 --- a/spec/features/consumer/shopping/cart_spec.rb +++ b/spec/features/consumer/shopping/cart_spec.rb @@ -133,7 +133,7 @@ feature "full-page cart", js: true do end it "shows the total tax for the order, including product tax and tax on fees" do - page.should have_selector '.tax-total', text: '11.00' # 10 + 1 + expect(page).to have_selector '.tax-total', text: '11.00' # 10 + 1 end end