test/test_generator.rb in padrino-gen-0.9.13 vs test/test_generator.rb in padrino-gen-0.9.14
- old
+ new
@@ -4,10 +4,10 @@
context "the generator" do
should "have default generators" do
%w{controller mailer migration model app}.each do |gen|
assert Padrino::Generators.mappings.has_key?(gen.to_sym)
- assert_equal "Padrino::Generators::#{gen.classify}", Padrino::Generators.mappings[gen.to_sym].name
+ assert_equal "Padrino::Generators::#{gen.camelize}", Padrino::Generators.mappings[gen.to_sym].name
assert Padrino::Generators.mappings[gen.to_sym].respond_to?(:start)
end
end
end
end
\ No newline at end of file