Skip to content

Commit

Permalink
Changed the reports to show Scenarios with 'Pending' steps to be yell…
Browse files Browse the repository at this point in the history
…ow rather than green.

Added 'or status == :pending' to
 def set_scenario_color(status)
        if status == :undefined
  • Loading branch information
artismarti committed Nov 24, 2010
1 parent 69d9862 commit 79a601a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cucumber/formatter/html.rb
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def build_exception_detail(exception)
end

def set_scenario_color(status)
if status == :undefined
if status == :undefined or status == :pending
set_scenario_color_pending
end
if status == :failed
Expand Down

0 comments on commit 79a601a

Please sign in to comment.