lib/watirsplash/html_formatter.rb in watirsplash-1.4.3 vs lib/watirsplash/html_formatter.rb in watirsplash-2.0.0.rc1
- old
+ new
@@ -10,10 +10,10 @@
# * saves all files generated/downloaded during the test and shows them in the report
class HtmlFormatter < ::RSpec::Core::Formatters::HtmlFormatter
# currently used browser object
# needed for saving of screenshots and html
- attr_writer :browser
+ attr_accessor :browser
def initialize(output) # :nodoc:
@output_dir = File.expand_path(File.dirname(output))
archive_results