Sha256: 1b6870b0d4505995661607b04f5b298f0e30f152bb2a560c0d5867fe76089aac

Contents?: true

Size: 534 Bytes

Versions: 1

Compression:

Stored size: 534 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 Tennpipes::Generators.mappings.has_key?(gen.to_sym)
        assert_equal "Tennpipes::Generators::#{gen.camelize}", Tennpipes::Generators.mappings[gen.to_sym].name
        assert Tennpipes::Generators.mappings[gen.to_sym].respond_to?(:start)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tennpipes-init-3.6.6 test/test_generator.rb