/ Published in: Other
Expand |
Embed | Plain Text
def visit_row_scenario(scenario) @io.puts %{ <dl class="new">} @io.puts %{ <dt>#{Cucumber.language['scenario']}: #{scenario.name}</dt>} @io.puts %{ <dd>} @io.puts %{ <table cellpadding="3">} @io.puts %{ <thead>} @io.puts %{ <tr>} @scenario_table_header.each do |column_header| @io.puts %{ <th>#{column_header}</th>} end @io.puts %{ </tr>} @io.puts %{ </thead>} @io.puts %{ <tbody>} scenario.accept(self) @io.puts %{ </tbody>} @io.puts %{ </table>} @io.puts %{ </dd>} @io.puts %{ </dl>} end
You need to login to post a comment.
