Sha256: 2e8715a91e4f84ce73e3a57709825a6d70c13b88d4aa24020f8f4edd9a4ca3f9

Contents?: true

Size: 395 Bytes

Versions: 82

Compression:

Stored size: 395 Bytes

Contents

# frozen_string_literal: true

class BetterRecord::EjectRspecExtensionsGenerator < Rails::Generators::Base
  source_root File.expand_path('templates', __dir__)

  def copy_templates
    template "#{BetterRecord::Engine.root}/lib/better_record/rspec/extensions.rb", 'spec/extensions.rb'
    directory "#{BetterRecord::Engine.root}/lib/better_record/rspec/extensions", 'spec/extensions'
  end
end

Version data entries

82 entries across 82 versions & 1 rubygems

Version Path
better_record-0.25.2 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.25.1 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.25.0 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.24.4 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.24.3 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.23.7 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.23.6 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.23.5 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.23.4 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.23.3 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.22.9 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.22.8 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.22.7 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.22.6 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.22.5 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.22.4 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.22.3 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.21.3 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.22.2 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.22.0 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb