spec/spec/runner/formatter/profile_formatter_spec.rb in dchelimsky-rspec-1.1.99.6 vs spec/spec/runner/formatter/profile_formatter_spec.rb in dchelimsky-rspec-1.1.99.7
- old
+ new
@@ -8,9 +8,10 @@
attr_reader :io, :formatter
before(:each) do
@io = StringIO.new
options = mock('options')
options.stub!(:colour).and_return(true)
+ options.stub!(:autospec).and_return(true)
@formatter = ProfileFormatter.new(options, io)
end
it "should print a heading" do
formatter.start(0)
\ No newline at end of file