Sha256: e395df5a334ebb3e74a57c081caf9150ba20caeed81604df96f39fc9d89df6cc

Contents?: true

Size: 462 Bytes

Versions: 34

Compression:

Stored size: 462 Bytes

Contents

ENV["RAILS_ENV"] ||= "test"
require File.expand_path "dummy/config/environment", __dir__
ENV["RAILS_ROOT"] ||= File.dirname(__FILE__) + "/dummy"

require "spec_helper"
require "rspec/rails"
require "<%= config.dig(:gem, :path) %>"

RSpec.configure do |config|
  config.include AbstractController::Translation
  config.include ActiveSupport::Testing::TimeHelpers
  config.include ActiveJob::TestHelper, type: :job
  config.infer_spec_type_from_file_location!
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
gemsmith-15.5.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-15.4.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-15.3.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-15.2.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-15.1.1 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-15.1.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-15.0.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-14.11.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-14.10.1 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-14.10.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-14.9.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-14.8.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-14.7.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-14.6.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-14.5.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-14.4.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-14.3.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-14.2.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-14.1.3 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-14.1.2 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt