Sha256: 1806b7d7896ba63d89d166f0162e0797c3cb6db41879cb12d5a94d62c670f981

Contents?: true

Size: 304 Bytes

Versions: 19

Compression:

Stored size: 304 Bytes

Contents

require 'generators/rspec'

module Rspec
  module Generators
    # @private
    class MailboxGenerator < Base
      def create_mailbox_spec
        template('mailbox_spec.rb.erb',
                 target_path('mailboxes', class_path, "#{file_name}_mailbox_spec.rb")
        )
      end
    end
  end
end

Version data entries

19 entries across 18 versions & 4 rubygems

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