spec/spec_helper.rb in percy-capybara-0.4.12 vs spec/spec_helper.rb in percy-capybara-0.5.0
- old
+ new
@@ -45,9 +45,12 @@
end
config.before(:each, type: :feature) do
WebMock.disable_net_connect!(allow_localhost: true, allow: [/i.imgur.com/])
end
+ # Cover all debug messages by outputting them in this gem's tests.
+ Percy.config.debug = true
+
# Start a temp webserver that serves the testdata directory.
# You can test this server manually by running:
# ruby -run -e httpd spec/lib/percy/capybara/client/testdata/ -p 9090
config.before(:all, type: :feature) do
port = get_random_open_port