Skip to content

Commit

Permalink
Enabled single example for example tables in HTML report
Browse files Browse the repository at this point in the history
  • Loading branch information
romanlehner committed Apr 16, 2015
1 parent fae0710 commit fb8288e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TestStack.BDDfy/Reporters/Html/ClassicReportBuilder.cs
Expand Up @@ -175,7 +175,7 @@ private void AddScenario(Scenario[] scenarioGroup)
{
using (OpenTag(string.Format("<div class='scenario'>"), HtmlTag.div))
{
if (scenarioGroup.Count() == 1)
if (scenarioGroup.First().Example == null)
AddScenario(scenarioGroup.Single());
else
AddScenarioWithExamples(scenarioGroup);
Expand Down

0 comments on commit fb8288e

Please sign in to comment.