Sha256: 83c01b77c4b00287b06fe8d23859db87b4e22ed43eb3ef527f286d1441febd09
Contents?: true
Size: 1.06 KB
Versions: 2
Compression:
Stored size: 1.06 KB
Contents
require "bundler/setup" <%- if config.dig(:generate, :code_climate) -%> require "simplecov" <%- end -%> <%- if config.dig(:generate, :pry) -%> require "pry" require "pry-byebug" <%- end -%> <%- unless config.dig(:generate, :engine) -%> require "<%= config.dig(:gem, :path) %>" <%- end -%> <%- if config.dig(:generate, :code_climate) -%> SimpleCov.start <%- end -%> Dir[File.join(File.dirname(__FILE__), "support/shared_contexts/**/*.rb")].each do |file| require file end RSpec.configure do |config| config.color = true config.order = "random" config.formatter = ENV["CI"] == "true" ? :progress : :documentation config.disable_monkey_patching! config.filter_run_when_matching :focus config.example_status_persistence_file_path = "./tmp/rspec-status.txt" config.shared_context_metadata_behavior = :apply_to_host_groups config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end config.expect_with :rspec do |expectations| expectations.syntax = :expect expectations.include_chain_clauses_in_custom_matcher_descriptions = true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gemsmith-13.3.0 | lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt |
gemsmith-13.2.0 | lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt |