Sha256: 9d1d78840fb66b4c9352900fac041687b4e825c24bcc737e20d1b246cdbca9fa

Contents?: true

Size: 581 Bytes

Versions: 2

Compression:

Stored size: 581 Bytes

Contents

# frozen_string_literal: true

begin
  require "pry-byebug"
rescue LoadError
end

<%- if rails? -%>
ENV["RAILS_ENV"] = "test"

require "combustion"
require "<%= name %>"

Combustion.initialize!
<%- else -%>
require "<%= name %>"
<%- end -%>

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].sort.each { |f| require f }

RSpec.configure do |config|
  config.mock_with :rspec

  config.example_status_persistence_file_path = "tmp/rspec_examples.txt"
  config.filter_run :focus
  config.run_all_when_everything_filtered = true

  config.order = :random
  Kernel.srand config.seed
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
arsenic-0.0.2 lib/arsenic/templates/newgem/spec/spec_helper.rb.tt
arsenic-0.0.1 lib/arsenic/templates/newgem/spec/spec_helper.rb.tt