Skip to content

Commit

Permalink
Fix failing spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwynne committed Sep 23, 2009
1 parent 2aa1334 commit 4e5e278
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/cucumber/formatter/progress_spec.rb
Expand Up @@ -15,7 +15,11 @@ module Formatter
describe "visiting a table cell value without a status" do
it "should take the status from the last run step" do
@visitor.visit_step_result('', '', nil, :failed, nil, 10, nil)
@visitor.visit_table_cell_value('value', nil)
outline_table = mock()
outline_table.should_receive(:accept) do |visitor|
visitor.visit_table_cell_value('value', nil)
end
@visitor.visit_outline_table(outline_table)

@out.string.should == "FF"
end
Expand Down

0 comments on commit 4e5e278

Please sign in to comment.