Sha256: aa34908a63004ba947a3e9d2eedc12d7df637d403210e8e68bd4e23141e208c4
Contents?: true
Size: 792 Bytes
Versions: 1
Compression:
Stored size: 792 Bytes
Contents
require "bundler/setup" <%- if config[:code_climate] -%> require "codeclimate-test-reporter" CodeClimate::TestReporter.start <%- end -%> require "<%= config[:gem_name] %>" <%- if config[:pry] -%> require "pry" require "pry-remote" require "pry-rescue" <%- end -%> <%- if config[:pry] -%> case Gem.ruby_engine when "ruby" require "pry-byebug" require "pry-stack_explorer" when "jruby" require "pry-nav" when "rbx" require "pry-nav" require "pry-stack_explorer" end <%- end -%> RSpec.configure do |config| config.expect_with(:rspec) { |expectation| expectation.syntax = :expect } config.run_all_when_everything_filtered = true config.filter_run focus: true config.order = "random" config.before(:all) { GC.disable } config.after(:all) { GC.enable } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gemsmith-4.0.0 | lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt |