Class: RailsEventStore::Generators::TestUnitGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- RailsEventStore::Generators::TestUnitGenerator
- Defined in:
- lib/generators/rails_event_store/test_unit_generator.rb
Instance Method Summary collapse
Instance Method Details
#require_bc_test ⇒ Object
14 15 16 |
# File 'lib/generators/rails_event_store/test_unit_generator.rb', line 14 def require_bc_test template "require_bc_test.rb", "test/#{bounded_context_name}_test.rb" end |
#test_helper ⇒ Object
10 11 12 |
# File 'lib/generators/rails_event_store/test_unit_generator.rb', line 10 def test_helper template "test_helper.rb", "#{bounded_context_name}/test/test_helper.rb" end |