bin/generate_test_tpl/spec.rb in ruby-vpi-7.2.0 vs bin/generate_test_tpl/spec.rb in ruby-vpi-7.3.0
- old
+ new
@@ -8,12 +8,12 @@
include Vpi
def setup
@design = <%= aOutputInfo.designClassName %>.new
end
-<% aModuleInfo.portNames.each do |param| %>
+<% aModuleInfo.ports.each do |port| %>
- def test_<%= param %>
+ def test_<%= port.name %>
end
<% end %>
end
<%
when :RSpec