Sha256: 623fca3a7a11759ddff0929641bd81e0d2977f0bf6c15aae62fb8b9cf80aace6

Contents?: true

Size: 494 Bytes

Versions: 14

Compression:

Stored size: 494 Bytes

Contents

require 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

14 entries across 14 versions & 1 rubygems

Version Path
padrino-gen-0.9.7 test/test_generator.rb
padrino-gen-0.9.6 test/test_generator.rb
padrino-gen-0.9.5 test/test_generator.rb
padrino-gen-0.9.4 test/test_generator.rb
padrino-gen-0.9.3 test/test_generator.rb
padrino-gen-0.9.2 test/test_generator.rb
padrino-gen-0.9.1 test/test_generator.rb
padrino-gen-0.9.0 test/test_generator.rb
padrino-gen-0.8.5 test/test_generator.rb
padrino-gen-0.8.4 test/test_generator.rb
padrino-gen-0.8.3 test/test_generator.rb
padrino-gen-0.8.2 test/test_generator.rb
padrino-gen-0.8.1 test/test_generator.rb
padrino-gen-0.8.0 test/test_generator.rb