decidim-dev/lib/decidim/dev/test/rspec_support/capybara.rb in decidim-0.4.4 vs decidim-dev/lib/decidim/dev/test/rspec_support/capybara.rb in decidim-0.5.0

- old
+ new

@@ -21,18 +21,12 @@ end end capybara_options = { extensions: [ - File.expand_path( - File.join(__dir__, "phantomjs_polyfills", "promise.js") - ), - File.expand_path( - File.join(__dir__, "phantomjs_polyfills", "phantomjs-shim.js") - ), - File.expand_path( - File.join(__dir__, "phantomjs_polyfills", "phantomjs-getOwnPropertyNames.js") - ) + File.join(__dir__, "phantomjs_polyfills", "promise.js"), + File.join(__dir__, "phantomjs_polyfills", "phantomjs-shim.js"), + File.join(__dir__, "phantomjs_polyfills", "phantomjs-getOwnPropertyNames.js") ], js_errors: true, url_whitelist: ["http://*.lvh.me", "localhost", "127.0.0.1"], timeout: 1.minute }