search for: extra_failure_content

Displaying 2 results from an estimated 2 matches for "extra_failure_content".

2007 Jan 12
2
spec_ui problems
.../ruby/gems/1.8/gems/rspec-0.7.5/lib/spec/ expectations/sugar.rb:13:in `_method_missing'' from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.5/lib/spec/ expectations/sugar.rb:9:in `method_missing'' from /Users/byamabe/Desktop/spec_ui/lib/spec/ui/formatter.rb: 5:in `extra_failure_content'' from /Users/byamabe/Desktop/spec_ui/lib/spec/ui/formatter.rb: 11:in `extra_failure_content'' from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.5/lib/spec/ runner/formatter/html_formatter.rb:57:in `spec_failed'' from /opt/local/lib/ruby/gems/1.8/...
2008 Jun 12
4
after :each invoked before formatter?
Hello. I''m using RSpec with Watir to do some automated tests on IE. I''ve ran into problem, where I want to make a screenshot of a browser window when example fails. For that I made custom formatter where in extra_failure_content i''m invoking screenshot taking methods. Now, everything works like a charm, as long as I''m not using after :each. I remember that I had this problem before with after :all with version 1.0.8 (at the moment I''m using 1.1.4). In after :each block I''m invoking Wati...