lib/wally/views/feature.haml in wally-0.0.29 vs lib/wally/views/feature.haml in wally-0.0.30

- old
+ new

@@ -1,16 +1,15 @@ %h2 - = @feature["name"] -- if @feature["path"] - %p - from - %em - = @feature["path"] - %section{:class=>"scenarios"} - %section{:class => 'feature'} - :markdown - #{@feature["description"]} -- if @feature["description"] + = @feature.gherkin["name"] +%p + from + %em + = @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)}