Sha256: f7b481302809ac820492850fa2ba690182aeea6988e02dd2fe4100fb5b7946c3

Contents?: true

Size: 307 Bytes

Versions: 24

Compression:

Stored size: 307 Bytes

Contents

require 'generators/rspec'

module Rspec
  module Generators
    # @private
    class MailboxGenerator < Base
      def create_mailbox_spec
        template('mailbox_spec.rb.erb',
                 File.join('spec/mailboxes', class_path, "#{file_name}_mailbox_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.2/lib/generators/rspec/mailbox/mailbox_generator.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/rspec-rails-5.1.1/lib/generators/rspec/mailbox/mailbox_generator.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/rspec-rails-5.1.2/lib/generators/rspec/mailbox/mailbox_generator.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/rspec-rails-5.1.1/lib/generators/rspec/mailbox/mailbox_generator.rb
rspec-rails-5.1.2 lib/generators/rspec/mailbox/mailbox_generator.rb
rspec-rails-6.0.0.rc1 lib/generators/rspec/mailbox/mailbox_generator.rb
rspec-rails-5.1.1 lib/generators/rspec/mailbox/mailbox_generator.rb
rspec-rails-5.1.0 lib/generators/rspec/mailbox/mailbox_generator.rb
rspec-rails-5.0.3 lib/generators/rspec/mailbox/mailbox_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/mailbox/mailbox_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/mailbox/mailbox_generator.rb
rspec-rails-5.0.2 lib/generators/rspec/mailbox/mailbox_generator.rb
rails_mini_profiler-0.2.0 vendor/bundle/ruby/3.0.0/gems/rspec-rails-4.1.2/lib/generators/rspec/mailbox/mailbox_generator.rb
rspec-rails-5.0.1 lib/generators/rspec/mailbox/mailbox_generator.rb
rspec-rails-4.1.2 lib/generators/rspec/mailbox/mailbox_generator.rb
rspec-rails-5.0.0 lib/generators/rspec/mailbox/mailbox_generator.rb
rspec-rails-4.1.1 lib/generators/rspec/mailbox/mailbox_generator.rb
rspec-rails-4.1.0 lib/generators/rspec/mailbox/mailbox_generator.rb
rspec-rails-4.0.2 lib/generators/rspec/mailbox/mailbox_generator.rb
rspec-rails-4.0.1 lib/generators/rspec/mailbox/mailbox_generator.rb