Sha256: 99f504b63d80f8a275174c33666cfdb99a25c7fd381983a0e22c89dc424fec64

Contents?: true

Size: 276 Bytes

Versions: 17

Compression:

Stored size: 276 Bytes

Contents

require 'generators/rspec'

module Rspec
  module Generators
    # @private
    class ChannelGenerator < Base
      def create_channel_spec
        template 'channel_spec.rb.erb', target_path('channels', class_path, "#{file_name}_channel_spec.rb")
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
rspec-rails-7.1.0 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-7.0.2 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-7.0.1 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-7.0.0 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-6.1.5 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-6.1.4 lib/generators/rspec/channel/channel_generator.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/rspec-rails-6.1.3/lib/generators/rspec/channel/channel_generator.rb
rspec-rails-6.1.3 lib/generators/rspec/channel/channel_generator.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/rspec-rails-6.0.4/lib/generators/rspec/channel/channel_generator.rb
rspec-rails-6.1.2 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-6.1.1 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-6.1.0 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-6.0.4 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-6.0.3 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-6.0.2 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-6.0.1 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-6.0.0 lib/generators/rspec/channel/channel_generator.rb