[rspec-devel] Failing tests in the tip(?) from github
Matt Patterson
matt-lists at reprocessed.org
Fri Apr 11 11:19:51 EDT 2008
I'm seeing 7 failures when rake spec_html is run in rspec.
The error is:
> undefined method `step_failed' for
#<Spec::Runner::Formatter::HtmlFormatter:0x1bc0538>
All the specs in question are story-related.
spec/spec/story/runner/story_mediator_spec.rb:
Spec::Story::Runner::StoryMediator
should create a given step if one matches
should create a pending step if no given step matches
should create a when step if one matches
should create a pending step if no when step matches
should create a then step if one matches
should create a pending step if no 'then' step matches
spec/spec/story/runner/story_runner_spec.rb:
Spec::Story::Runner::StoryRunner
should clean the steps between stories
I'm assuming that this is a problem with the standard spec formatter
being invoked in place of a story formatter
This only seems to be a problem during the HTML report generating run...
And only through rake spec_html: running bin/spec spec/spec/story/
runner/story_mediator_spec.rb --format html works fine...
Matt
--
Matt Patterson | Design & Code
<matt at reprocessed org> | http://www.reprocessed.org/
More information about the rspec-devel
mailing list