class BoundedContext::Generators::TestUnitGenerator

Public Instance Methods

test_helper() click to toggle source
# File lib/generators/bounded_context/test_unit_generator.rb, line 10
def test_helper
  template "test_helper.rb", "#{bounded_context_name}/test/test_helper.rb"
end

Private Instance Methods

bounded_context_name() click to toggle source
# File lib/generators/bounded_context/test_unit_generator.rb, line 16
def bounded_context_name
  name.underscore
end