Sha256: 7216282c181ceb287c40fdae680631af5bc5803d3ef97eadfb46f6fe9f73867e

Contents?: true

Size: 466 Bytes

Versions: 29

Compression:

Stored size: 466 Bytes

Contents

ENV["RAILS_ENV"] ||= "test"
require File.expand_path "../dummy/config/environment", __FILE__
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

29 entries across 29 versions & 1 rubygems

Version Path
gemsmith-9.5.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-9.4.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-9.3.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-9.2.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-9.1.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-9.0.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-8.2.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-8.1.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-8.0.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt