From 4fb9fe75ebe0f40185faddb3d9ad8d89c378919f Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Fri, 1 Dec 2017 21:51:52 +0100 Subject: [PATCH] Fix admin promotion adjustments spec After the merge of https://github.com/solidusio/solidus/pull/2394 the admin promotion adjustment spec that got introduced by https://github.com/solidusio/solidus/pull/2400 broke. --- backend/spec/features/admin/promotion_adjustments_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/spec/features/admin/promotion_adjustments_spec.rb b/backend/spec/features/admin/promotion_adjustments_spec.rb index c165ad1dd5d..f62f51da8fb 100644 --- a/backend/spec/features/admin/promotion_adjustments_spec.rb +++ b/backend/spec/features/admin/promotion_adjustments_spec.rb @@ -272,7 +272,7 @@ def self.description select "Create per-line-item adjustment", from: "Add action of type" within('#action_fields') do click_button "Add" - select "Complex Calculator", from: "Base Calculator" + select "Complex Calculator", from: I18n.t('spree.admin.promotions.actions.calculator_label') end within('#actions_container') { click_button "Update" } expect(page).to have_text 'successfully updated'