Sha256: e23a4e6c0b2ad8089eb29e7cc0dca474448628f660a4dd2375308019eaa43682
Contents?: true
Size: 512 Bytes
Versions: 5
Compression:
Stored size: 512 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/helper') class TestGenerator < Test::Unit::TestCase 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 Padrino::Generators.mappings[gen.to_sym].respond_to?(:start) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems