diff --git a/config/locales/en.yml b/config/locales/en.yml index 48e02bb0de..bde2f16c03 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -44,6 +44,10 @@ en: variant_unit_name: "Variant Unit Name" spree/credit_card: base: "Credit Card" + number: "Number" + month: "Month" + verification_value: "Verification Value" + year: "Year" order_cycle: orders_close_at: Close date variant_override: @@ -3152,6 +3156,9 @@ See the %{link} to find out more about %{sitename}'s features and to start using please_define_payment_methods: "Please define some payment methods first." options: "Options" has_no_shipped_units: "has no shipped units" + successfully_created: ! '%{resource} has been successfully created!' + successfully_updated: ! '%{resource} has been successfully updated!' + payment_processing_failed: "Payment could not be processed, please check the details you entered" order_populator: out_of_stock: ! '%{item} is out of stock.' diff --git a/spec/models/spree/payment_spec.rb b/spec/models/spree/payment_spec.rb index 200efab868..9954d7dc9f 100644 --- a/spec/models/spree/payment_spec.rb +++ b/spec/models/spree/payment_spec.rb @@ -1,4 +1,5 @@ require 'spec_helper' +require 'spree/core/gateway_error' describe Spree::Payment do context 'original specs from Spree' do