spec/spec/runner/option_parser_spec.rb in rspec-0.9.2 vs spec/spec/runner/option_parser_spec.rb in rspec-0.9.3

- old
+ new

@@ -126,10 +126,10 @@ it "should use html formatter with explicit output when format is html:test.html" do FileUtils.rm 'test.html' if File.exist?('test.html') options = parse(["--format", "html:test.html"]) File.should be_exist('test.html') options.formatters[0].class.should equal(Spec::Runner::Formatter::HtmlFormatter) - FileUtils.rm 'test.html' + FileUtils.rm 'test.html' rescue nil # Help windows end it "should use noisy backtrace tweaker with b option" do options = parse(["-b"]) options.backtrace_tweaker.should be_instance_of(Spec::Runner::NoisyBacktraceTweaker)