tracks/ruby/exercises/grains/example.tt in trackler-2.1.0.1 vs tracks/ruby/exercises/grains/example.tt in trackler-2.1.0.2
- old
+ new
@@ -1,16 +1,18 @@
require 'minitest/autorun'
require_relative 'grains'
# Common test data version: <%= abbreviated_commit_hash %>
-class GrainsTest < Minitest::Test<% test_cases.each do |test_case| %>
- def <%= test_case.test_name %>
+class GrainsTest < Minitest::Test
+<% test_cases.each do |test_case| %>
+ def <%= test_case.name %>
<%= test_case.skipped %>
<%= test_case.workload %>
end
-<% end %>
+<% end %>
<%= IO.read(XRUBY_LIB + '/bookkeeping.md') %>
+
def test_bookkeeping
skip
assert_equal <%= version %>, BookKeeping::VERSION
end
end