KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have... /spec/spec_helper.rb : require 'capybara/rspec' require 'capybara/rails' require 'capybara/dsl' RSpec.configure do |config| config.fail_fast = true config.use_instantiated_fixtures = false config.include(Capybara, :type => :integration) end So as soon as any spec fails, Rspec quits and shows you the error. At the point, I'd like Rspec to also automatically call Capybara's save_and_open_page method. How can I do this? Capybara-Screenshot looks promising, but while it saves both the HTML and a screenshot as an image file (which I don't need), it does not automatically open them.
Tags (comma-separated)
Save Edits
Cancel