summaryrefslogtreecommitdiff
path: root/lib/bundler/templates/newgem/spec/spec_helper.rb.tt
blob: a5e7f92ffe69e71e345cb42e4ded6915b6910f01 (plain)
1
2
3
4
5
6
7
8
9
10
11
require "bundler/setup"
require "<%= config[:namespaced_path] %>"

RSpec.configure do |config|
  # Enable flags like --only-failures and --next-failure
  config.example_status_persistence_file_path = ".rspec_status"

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
end