From 6dc0fcf682bcb14a44dbd3102cbc2f4943238efb Mon Sep 17 00:00:00 2001 From: Dheeraj Singh Dubey Date: Mon, 30 Jan 2023 13:10:26 +0530 Subject: [PATCH] add required phantomjs Signed-off-by: Dheeraj Singh Dubey --- src/supermarket/spec/spec_helper.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/supermarket/spec/spec_helper.rb b/src/supermarket/spec/spec_helper.rb index 429ad6cd4f..bfa241af3e 100644 --- a/src/supermarket/spec/spec_helper.rb +++ b/src/supermarket/spec/spec_helper.rb @@ -9,6 +9,7 @@ require "capybara/poltergeist" require "capybara-screenshot/rspec" require "factory_bot_rails" +require "phantomjs" require "simplecov" SimpleCov.start @@ -34,6 +35,7 @@ app, phantomjs_logger: error_logger, timeout: 90, + phantomjs: Phantomjs.path, # set to a width larger than the medium range defined in variables.scss # so that tests the navmenu appears at the top of the window, otherwise # capybara will complain about