bin/generate_test_tpl/spec.rb in ruby-vpi-8.2.0 vs bin/generate_test_tpl/spec.rb in ruby-vpi-9.0.0
- old
+ new
@@ -1,10 +1,10 @@
## This specification verifies the design under test.
<%
case aOutputInfo.specFormat
- when :UnitTest
+ when :xUnit
%>
class <%= aOutputInfo.specClassName %> < Test::Unit::TestCase
include Vpi
def setup
@@ -15,10 +15,10 @@
def test_<%= port.name %>
end
<% end %>
end
<%
- when :RSpec
+ when :rSpec
%>
include Vpi
context "A new <%= aOutputInfo.designClassName %>" do
setup do