Sha256: 12cb272b1325b77360a7461e1de7346be23ab57fe5a7e2237140d080c0bbc032

Contents?: true

Size: 279 Bytes

Versions: 24

Compression:

Stored size: 279 Bytes

Contents

require 'generators/rspec'

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

Version data entries

24 entries across 22 versions & 4 rubygems

Version Path
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/rspec-rails-5.1.1/lib/generators/rspec/channel/channel_generator.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/rspec-rails-5.1.2/lib/generators/rspec/channel/channel_generator.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/rspec-rails-5.1.1/lib/generators/rspec/channel/channel_generator.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/rspec-rails-5.1.2/lib/generators/rspec/channel/channel_generator.rb
rspec-rails-5.1.2 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-6.0.0.rc1 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-5.1.1 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-5.1.0 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-5.0.3 lib/generators/rspec/channel/channel_generator.rb
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/rspec-rails-5.0.2/lib/generators/rspec/channel/channel_generator.rb
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/rspec-rails-5.0.2/lib/generators/rspec/channel/channel_generator.rb
rspec-rails-5.0.2 lib/generators/rspec/channel/channel_generator.rb
rails_mini_profiler-0.2.0 vendor/bundle/ruby/3.0.0/gems/rspec-rails-4.1.2/lib/generators/rspec/channel/channel_generator.rb
rspec-rails-5.0.1 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-4.1.2 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-5.0.0 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-4.1.1 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-4.1.0 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-4.0.2 lib/generators/rspec/channel/channel_generator.rb
rspec-rails-4.0.1 lib/generators/rspec/channel/channel_generator.rb