trackinator 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/trackinator/version.rb +1 -1
- data/lib/trackinator/you_track.rb +6 -1
- metadata +1 -1
data/lib/trackinator/version.rb
CHANGED
@@ -155,8 +155,13 @@ module Trackinator
|
|
155
155
|
def construct_description description, outcome
|
156
156
|
template = ERB.new <<-EOF
|
157
157
|
<% unless outcome.nil? %>'''Steps'''<% end %>
|
158
|
+
<% if description.split(';').length > 1 %><% description.split(';').each do |step| %>
|
159
|
+
*<%= step.strip %><% end %>
|
160
|
+
<% else %>
|
158
161
|
<%= description %>
|
159
|
-
<%
|
162
|
+
<% end %>
|
163
|
+
<% unless outcome.nil? %>'''Outcome'''
|
164
|
+
<% end %>
|
160
165
|
<%= outcome %>
|
161
166
|
EOF
|
162
167
|
|