Sha256: 6299588273ca2bffc41a7a1deca651316279d78d4fdd46807c63ede22478f801

Contents?: true

Size: 519 Bytes

Versions: 17

Compression:

Stored size: 519 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 plugin}.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

17 entries across 17 versions & 1 rubygems

Version Path
padrino-gen-0.10.1 test/test_generator.rb
padrino-gen-0.10.0 test/test_generator.rb
padrino-gen-0.9.29 test/test_generator.rb
padrino-gen-0.9.28 test/test_generator.rb
padrino-gen-0.9.27 test/test_generator.rb
padrino-gen-0.9.26 test/test_generator.rb
padrino-gen-0.9.24 test/test_generator.rb
padrino-gen-0.9.25 test/test_generator.rb
padrino-gen-0.9.23 test/test_generator.rb
padrino-gen-0.9.22 test/test_generator.rb
padrino-gen-0.9.21 test/test_generator.rb
padrino-gen-0.9.20 test/test_generator.rb
padrino-gen-0.9.19 test/test_generator.rb
padrino-gen-0.9.18 test/test_generator.rb
padrino-gen-0.9.17 test/test_generator.rb
padrino-gen-0.9.16 test/test_generator.rb
padrino-gen-0.9.15 test/test_generator.rb