lib/percy/capybara/rspec.rb in percy-capybara-0.5.0 vs lib/percy/capybara/rspec.rb in percy-capybara-0.6.0
- old
+ new
@@ -1,5 +1,6 @@
require 'rspec/core'
RSpec.configure do |config|
+ config.before(:suite) { Percy::Capybara.initialize_build }
config.after(:suite) { Percy::Capybara.finalize_build }
end