Sha256: 37ac044e78148c0f6c9f4366d7e1452832a9e798160e12ecadd37ad179e8e883
Contents?: true
Size: 492 Bytes
Versions: 8
Compression:
Stored size: 492 Bytes
Contents
class IntegrationTestGenerator < RubiGen::NamedBase default_options :skip_migration => false def manifest record do |m| # Check for class naming collisions. m.class_collisions class_path, class_name, "#{class_name}Test" # integration test directory m.directory File.join('test/integration', class_path) # integration test stub m.template 'integration_test.rb', File.join('test/integration', class_path, "#{file_name}_test.rb") end end end
Version data entries
8 entries across 8 versions & 1 rubygems