spec/api/purchase_spec.rb in yotpo-0.0.5 vs spec/api/purchase_spec.rb in yotpo-0.0.6

- old
+ new

@@ -2,12 +2,12 @@ describe Yotpo::Purchase do describe '#create_new_purchase' do before(:all) do create_new_purchase_request = { - email: Faker::Internet.email, - customer_name: Faker::Internet.user_name, + email: 'some@one.com', + customer_name: 'Customer Name', order_id: '123', platform: 'shopify', products: [ p1: { url: 'http://example_product_url1.com', @@ -34,11 +34,11 @@ describe '#create_new_purchases' do before(:all) do create_new_purchase_request = { orders: [ { - email: Faker::Internet.email, - customer_name: Faker::Internet.user_name, + email: 'another@one.com', + customer_name: 'Another Name', order_id: '123', platform: 'shopify', products: [ p1: { url: 'http://example_product_url1.com',