[rspec-devel] [ rspec-Bugs-6056 ] Multiple output of failing-spec notice

noreply at rubyforge.org noreply at rubyforge.org
Sat Oct 21 10:37:53 EDT 2006


Bugs item #6056, was opened at 2006-10-07 17:33
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=6056&group_id=797

Category: None
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 3
Submitted By: Sam Livingston-Gray (geeksam)
>Assigned to: Aslak Hellesoy (aslak_hellesoy)
Summary: Multiple output of failing-spec notice

Initial Comment:
Using RSpec 0.6.4, running the following specs:

  context 'A failing context' do
    specify 'should fail' do
      true.should_be false
    end
  end

  context 'A different context just minding its own business' do 
    specify 'should pass' do
      true.should_be true
    end
  end


Produces this output:

F

1)
Spec::Expectations::ExpectationNotMetError in 'A failing context should fail'
true should be false
rspec_bug.rb:7:in `should fail'
rspec_bug.rb:5

Finished in 0.015 seconds

1 specification, 1 failure
F.

1)
Spec::Expectations::ExpectationNotMetError in 'A failing context should fail'
true should be false
rspec_bug.rb:7:in `should fail'
rspec_bug.rb:5

2)
Spec::Expectations::ExpectationNotMetError in 'A failing context should fail'
true should be false
rspec_bug.rb:7:in `should fail'
rspec_bug.rb:17

Finished in 0.0 seconds

3 specifications, 2 failures


----------------------------------------------------------------------

>Comment By: Aslak Hellesoy (aslak_hellesoy)
Date: 2006-10-21 10:37

Message:
Fixed. Will be in 0.7.0

----------------------------------------------------------------------

Comment By: Aslak Hellesoy (aslak_hellesoy)
Date: 2006-10-21 10:37

Message:
Fixed. Will be in 0.7.0

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=6056&group_id=797


More information about the rspec-devel mailing list