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