Class: TestUnit::Generators::Operations::ContractGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Includes:
Operations::Base::Generators::BaseGenerator
Defined in:
lib/test_unit/generators/operations/contract_generator.rb

Instance Method Summary collapse

Instance Method Details

#generate_filesObject



11
12
13
14
15
# File 'lib/test_unit/generators/operations/contract_generator.rb', line 11

def generate_files
  super

  template "contract_test.rb.erb", "#{root_test_file_path}/operations/#{plural_name}/#{verb}/contract_test.rb"
end