test/test_executable_generator.rb in newgem-0.28.0 vs test/test_executable_generator.rb in newgem-0.29.0

- old
+ new

@@ -10,17 +10,18 @@ def teardown bare_teardown end def test_generator_without_options - name = "name" + name = "binname" run_generator('executable', [name], sources) assert_generated_file("bin/#{name}") + assert_generated_file("lib/#{name}/cli.rb") + assert_generated_file("test/test_#{name}_cli.rb") end def sources - [RubiGen::PathSource.new(:test, File.join(File.dirname(__FILE__),"..", generator_path)) - ] + [RubiGen::PathSource.new(:test, File.join(File.dirname(__FILE__), "..", generator_path))] end def generator_path "rubygems_generators" end