Sha256: 51566814a0fe6e816683ae8c4d46f83bfd315a7149e7e67604ec21a4ef4cf6fc

Contents?: true

Size: 526 Bytes

Versions: 35

Compression:

Stored size: 526 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/helper')

describe "Generator" do
  describe "the generator" do
    it 'should have default generators' do
      %w{controller mailer migration model app plugin component task helper}.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
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
padrino-gen-0.16.0.pre3 test/test_generator.rb
padrino-gen-0.16.0.pre2 test/test_generator.rb
padrino-gen-0.15.3 test/test_generator.rb
padrino-gen-0.15.2 test/test_generator.rb
padrino-gen-0.15.1 test/test_generator.rb
padrino-gen-0.15.0 test/test_generator.rb
padrino-gen-0.14.4 test/test_generator.rb
padrino-gen-0.14.3 test/test_generator.rb
padrino-gen-0.12.9 test/test_generator.rb
padrino-gen-0.14.2 test/test_generator.rb
padrino-gen-0.13.3.4 test/test_generator.rb
padrino-gen-0.14.1.1 test/test_generator.rb
padrino-gen-0.14.1 test/test_generator.rb
padrino-gen-0.14.0.2 test/test_generator.rb
padrino-gen-0.14.0.1 test/test_generator.rb
padrino-gen-0.14.0 test/test_generator.rb
padrino-gen-0.14.0.rc2 test/test_generator.rb
padrino-gen-0.14.0.rc1 test/test_generator.rb
padrino-gen-0.13.3.3 test/test_generator.rb
padrino-gen-0.13.3.2 test/test_generator.rb