Sha256: 4f7159b258d6e2158745f4cb25c2a73192a92ce9a235f942194fed24f8c8c8db
Contents?: true
Size: 876 Bytes
Versions: 1
Compression:
Stored size: 876 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.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end 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.1.0 | lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt |