From 936f5c1a0cef3df74084c821e2b87ec96cb4eac6 Mon Sep 17 00:00:00 2001 From: Andy Brett Date: Tue, 1 Dec 2020 12:05:31 -0800 Subject: [PATCH] remove extraneous `page` call --- spec/features/admin/products_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/admin/products_spec.rb b/spec/features/admin/products_spec.rb index f77e9f092c..c5474a4f2e 100644 --- a/spec/features/admin/products_spec.rb +++ b/spec/features/admin/products_spec.rb @@ -126,7 +126,7 @@ feature ' fill_in 'product_on_hand', with: 0 check 'product_on_demand' select 'Test Tax Category', from: 'product_tax_category_id' - page.find("div[id^='taTextElement']").native.send_keys('In demand, and on_demand! The hottest cakes in town.') + find("div[id^='taTextElement']").native.send_keys('In demand, and on_demand! The hottest cakes in town.') click_button 'Create'