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.21.2 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.20.2 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.19.10 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.19.9 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.19.8 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.19.7 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.19.6 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.19.4 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.19.2 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.19.1 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.19.0 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.18.3 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.18.2 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.18.1 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.18.0 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.17.9 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.17.8 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.17.4 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.17.3 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb
better_record-0.17.1 lib/generators/better_record/eject_rspec_extensions/eject_rspec_extensions_generator.rb