aboutsummaryrefslogtreecommitdiffstats
path: root/spec/mspec/lib/mspec/runner/formatters/html.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/mspec/lib/mspec/runner/formatters/html.rb')
-rw-r--r--spec/mspec/lib/mspec/runner/formatters/html.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mspec/lib/mspec/runner/formatters/html.rb b/spec/mspec/lib/mspec/runner/formatters/html.rb
index fd64cd0d20..f79c7161f9 100644
--- a/spec/mspec/lib/mspec/runner/formatters/html.rb
+++ b/spec/mspec/lib/mspec/runner/formatters/html.rb
@@ -50,7 +50,7 @@ EOH
print %[#{outcome} - #{@count}</a>)</li>\n]
end
- def after(state)
+ def after(state = nil)
print %[<li class="pass">- #{state.it}</li>\n] unless exception?
end