diff --git a/spec/features/consumer/shopping/products_spec.rb b/spec/system/consumer/shopping/products_spec.rb similarity index 99% rename from spec/features/consumer/shopping/products_spec.rb rename to spec/system/consumer/shopping/products_spec.rb index d49fe56621..cd8417ab66 100644 --- a/spec/features/consumer/shopping/products_spec.rb +++ b/spec/system/consumer/shopping/products_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -require 'spec_helper' +require 'system_helper' describe "As a consumer I want to view products", js: true do include AuthenticationHelper diff --git a/spec/features/consumer/shopping/unit_price_spec.rb b/spec/system/consumer/shopping/unit_price_spec.rb similarity index 99% rename from spec/features/consumer/shopping/unit_price_spec.rb rename to spec/system/consumer/shopping/unit_price_spec.rb index 99b7b2c743..c134dd4f4d 100644 --- a/spec/features/consumer/shopping/unit_price_spec.rb +++ b/spec/system/consumer/shopping/unit_price_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -require 'spec_helper' +require 'system_helper' describe "As a consumer, I want to check unit price information for a product", js: true do include AuthenticationHelper diff --git a/spec/features/consumer/shopping/variant_overrides_spec.rb b/spec/system/consumer/shopping/variant_overrides_spec.rb similarity index 99% rename from spec/features/consumer/shopping/variant_overrides_spec.rb rename to spec/system/consumer/shopping/variant_overrides_spec.rb index f44e84bfdb..1248c32ff2 100644 --- a/spec/features/consumer/shopping/variant_overrides_spec.rb +++ b/spec/system/consumer/shopping/variant_overrides_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -require 'spec_helper' +require 'system_helper' describe "shopping with variant overrides defined", js: true do include AuthenticationHelper @@ -91,8 +91,8 @@ describe "shopping with variant overrides defined", js: true do it "calculates fees correctly" do page.find("#variant-#{product1_variant1.id} .graph-button").click - expect(page).to have_selector 'li', text: "#{with_currency(55.55)}\nItem cost" - expect(page).to have_selector 'li', text: "#{with_currency(5.56)}\nPacking fee" + expect(page).to have_selector 'li', text: "#{with_currency(55.55)} Item cost" + expect(page).to have_selector 'li', text: "#{with_currency(5.56)} Packing fee" expect(page).to have_selector 'li', text: "= #{with_currency(61.11)}" end