From 5e26a57d2793e9fd33f5a685b7c2dcc1fe3ae11f Mon Sep 17 00:00:00 2001 From: ovsyanik-ka Date: Wed, 28 Jul 2021 12:49:20 +0500 Subject: [PATCH] fix(selenium)L after july-1 --- .../selenium_eti/spec/company_site/eti/product_creation_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/apress/selenium_eti/spec/company_site/eti/product_creation_spec.rb b/lib/apress/selenium_eti/spec/company_site/eti/product_creation_spec.rb index 93b0004..47a598c 100644 --- a/lib/apress/selenium_eti/spec/company_site/eti/product_creation_spec.rb +++ b/lib/apress/selenium_eti/spec/company_site/eti/product_creation_spec.rb @@ -14,7 +14,7 @@ describe 'Создание товара' do context 'когда товар без рубрики' do before(:all) do - @name = Faker::Number.number(digits: 5) + @name = Faker::Number.leading_zero_number(digits: 5) @cs_eti_page.add_product @cs_eti_page.set_name(@name) @cs_eti_page.wait_saving