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-13.1.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-13.0.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-12.4.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-12.3.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-12.2.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-12.1.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-12.0.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-11.3.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-11.2.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-11.1.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-11.0.1 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-11.0.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-10.4.2 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-10.4.1 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-10.4.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-10.3.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-10.2.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-10.1.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-10.0.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
gemsmith-9.6.0 lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt