123456789_123456789_123456789_123456789_123456789_

Class: Rspec::Generators::MailboxGenerator Private

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Base, Rails::Generators::NamedBase
Instance Chain:
self, Base, ::RSpec::Rails::FeatureCheck, Rails::Generators::NamedBase
Inherits: Rspec::Generators::Base
Defined in: rspec-rails/lib/generators/rspec/mailbox/mailbox_generator.rb

Class Method Summary

Base - Inherited

.configuration

Load configuration from ::RSpec to ensure ‘–default-path` is set.

.source_root

Instance Method Summary

Instance Method Details

#create_mailbox_spec

[ GitHub ]

  
# File 'rspec-rails/lib/generators/rspec/mailbox/mailbox_generator.rb', line 7

def create_mailbox_spec
  template('mailbox_spec.rb.erb',
           target_path('mailboxes', class_path, "#{file_name}_mailbox_spec.rb")
  )
end