test/test_generator.rb in padrino-gen-0.11.3 vs test/test_generator.rb in padrino-gen-0.11.4
- old
+ new
@@ -2,10 +2,10 @@
describe "Generator" do
context "the generator" do
should "have default generators" do
- %w{controller mailer migration model app plugin}.each do |gen|
+ %w{controller mailer migration model app plugin component}.each do |gen|
assert Padrino::Generators.mappings.has_key?(gen.to_sym)
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