lib/wally/views/feature.haml in wally-0.0.18 vs lib/wally/views/feature.haml in wally-0.0.19
- old
+ new
@@ -1,13 +1,17 @@
+%h2
+ = @feature["name"]
- if @feature["path"]
- %pre
- = @feature["path"]
-- if @feature["description"]
- %h2 Scenarios
+ %p
+ from
+ %em
+ = @feature["path"]
%section{:class=>"scenarios"}
%section{:class => 'feature'}
:markdown
#{@feature["description"]}
+- if @feature["description"]
+ %h2 Scenarios
%ul
- get_sorted_scenarios(@feature).each do |scenario|
%li
%a{:href => get_scenario_url(scenario)}
= scenario["name"]