mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-28 01:53:25 +00:00
Fix spec date to string issue
This commit is contained in:
@@ -158,7 +158,7 @@ feature "Product Import", js: true do
|
||||
end
|
||||
|
||||
expect(page).to have_selector 'div#s2id_import_date_filter'
|
||||
import_time = carrots.import_date.to_date.to_formatted_s(:long)
|
||||
import_time = carrots.import_date.to_date.to_formatted_s(:long).gsub(' ', ' ')
|
||||
select import_time, from: "import_date_filter", visible: false
|
||||
|
||||
expect(page).to have_field "product_name", with: carrots.name
|
||||
|
||||
Reference in New Issue
Block a user