class TestUnit::Generators::PolicyGenerator
Public Instance Methods
Source
# File lib/generators/test_unit/policy_generator.rb, line 6 def create_policy_test template 'policy_test.rb', File.join('test/policies', class_path, "#{file_name}_policy_test.rb") end