test/test_newgem_generator.rb in newgem-0.29.0 vs test/test_newgem_generator.rb in newgem-1.0.0
- old
+ new
@@ -14,38 +14,28 @@
end
def test_newgem
run_generator('newgem', [APP_ROOT], sources)
- assert_directory_exists "config"
assert_directory_exists "lib"
assert_directory_exists "tasks"
assert_directory_exists "test"
%w[Rakefile README.rdoc History.txt Manifest.txt PostInstall.txt].each do |file|
assert_generated_file(file)
end
- %w[hoe.rb requirements.rb].each do |file|
- assert_generated_file("config/#{file}")
- end
-
assert_generated_file("lib/#{gem_name}.rb")
- assert_generated_file("lib/#{gem_name}/version.rb")
["test_helper.rb", "test_#{gem_name}.rb"].each do |file|
assert_generated_file("test/#{file}")
end
%w[generate destroy console].each do |file|
assert_generated_file("script/#{file}")
end
assert_generated_module("lib/#{gem_name}")
-
- %w[deployment environment website].each do |file|
- assert_generated_file("tasks/#{file}.rake")
- end
assert_manifest_complete
end
def test_newgem_with_website_by_default