diff --git a/spec/factories/customer_factory.rb b/spec/factories/customer_factory.rb index bc4a9e6980..a661255146 100644 --- a/spec/factories/customer_factory.rb +++ b/spec/factories/customer_factory.rb @@ -2,8 +2,6 @@ FactoryBot.define do factory :customer, class: Customer do - first_name { FFaker::Name.first_name } - last_name { FFaker::Name.last_name } email { generate(:random_email) } enterprise code { SecureRandom.base64(150) } diff --git a/spec/system/admin/subscriptions_spec.rb b/spec/system/admin/subscriptions_spec.rb index 6b74f7cd63..01b9fdab3a 100644 --- a/spec/system/admin/subscriptions_spec.rb +++ b/spec/system/admin/subscriptions_spec.rb @@ -19,7 +19,7 @@ describe 'Subscriptions' do let!(:subscription) { create(:subscription, shop: shop, with_items: true, with_proxy_orders: true) } - let!(:customer) { create(:customer) } + let!(:customer) { create(:customer, first_name: "Timmy", last_name: "Test") } let!(:other_subscription) { create(:subscription, shop: shop, customer: customer, with_items: true, with_proxy_orders: true)