Skip to content

Commit

Permalink
Fix admin promotion adjustments spec
Browse files Browse the repository at this point in the history
After the merge of solidusio#2394
the admin promotion adjustment spec that got introduced by
solidusio#2400 broke.
  • Loading branch information
tvdeyen committed Dec 1, 2017
1 parent b3d1491 commit 4fb9fe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/spec/features/admin/promotion_adjustments_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 4fb9fe7

Please sign in to comment.