Sha256: 9637be2bcf14bf27176d6bbcf73cfaed0fb96b70e1e9c40f916fa9427f34aa34

Contents?: true

Size: 374 Bytes

Versions: 27

Compression:

Stored size: 374 Bytes

Contents

module Rspec
  module Generators
    class InstallGenerator < Rails::Generators::NamedBase
      desc "Generate a Handler spec in spec/bot"

      source_root File.expand_path("../templates", __FILE__)

      def copy_files
        empty_directory 'spec/bot'
        template "application_handler_spec.rb", "spec/bot/application_handler_spec.rb"
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
bot-0.0.46 lib/generators/rspec/install_generator.rb
bot-0.0.45 lib/generators/rspec/install_generator.rb
bot-0.0.44 lib/generators/rspec/install_generator.rb
bot-0.0.43 lib/generators/rspec/install_generator.rb
bot-0.0.42 lib/generators/rspec/install_generator.rb
bot-0.0.41 lib/generators/rspec/install_generator.rb
bot-0.0.40 lib/generators/rspec/install_generator.rb
bot-0.0.39 lib/generators/rspec/install_generator.rb
bot-0.0.38 lib/generators/rspec/install_generator.rb
bot-0.0.37 lib/generators/rspec/install_generator.rb
bot-0.0.35 lib/generators/rspec/install_generator.rb
bot-0.0.34 lib/generators/rspec/install_generator.rb
bot-0.0.33 lib/generators/rspec/install_generator.rb
bot-0.0.32 lib/generators/rspec/install_generator.rb
bot-0.0.31 lib/generators/rspec/install_generator.rb
bot-0.0.30 lib/generators/rspec/install_generator.rb
bot-0.0.29 lib/generators/rspec/install_generator.rb
bot-0.0.28 lib/generators/rspec/install_generator.rb
bot-0.0.27 lib/generators/rspec/install_generator.rb
bot-0.0.26 lib/generators/rspec/install_generator.rb