lib/wally/views/feature.haml in wally-0.0.40 vs lib/wally/views/feature.haml in wally-0.0.41

- old
+ new

@@ -6,14 +6,14 @@ = @feature.path %section{:class=>"scenarios"} %section{:class => 'feature'} :markdown #{@feature.gherkin["description"]} -- if @feature.gherkin["description"] - %h2 Scenarios - %ul - - get_sorted_scenarios(@feature).each do |scenario| - %li - %a{:href => get_scenario_url(scenario)} - = scenario["name"] - - if scenario["tags"] - = haml :tag_links, {:locals => {:tags => scenario["tags"]}, :layout => false} + - if @feature.gherkin["description"] + %h2 Scenarios + %ul + - get_sorted_scenarios(@feature).each do |scenario| + %li + %a{:href => get_scenario_url(scenario)} + = scenario["name"] + - if scenario["tags"] + = haml :tag_links, {:locals => {:tags => scenario["tags"]}, :layout => false}