lib/sprout/generators/ruby/ruby_generator.rb in sprout-1.0.23.pre vs lib/sprout/generators/ruby/ruby_generator.rb in sprout-1.0.24.pre

- old
+ new

@@ -33,21 +33,26 @@ def manifest snake = input.snake_case directory snake do - file 'Gemfile', 'ruby_gemfile' + template 'Gemfile', 'ruby_gemfile' + template 'Rakefile', 'ruby_rakefile' + template "#{input.snake_case}.gemspec", 'ruby_gemspec' directory lib do template "#{snake}.rb", 'ruby_input.rb' directory snake do template 'base.rb', 'ruby_base.rb' end end directory test do directory fixtures - directory unit + directory unit do + template "#{input.snake_case}_test.rb", 'ruby_test_case.rb' + end + template 'test_helper.rb', 'ruby_test_helper.rb' end directory bin do template input.dash_case, 'ruby_executable' end