spec/spec_helper.rb in docspring-1.4.1 vs spec/spec_helper.rb in docspring-2.0.0
- old
+ new
@@ -1,23 +1,20 @@
=begin
#API v1
#DocSpring is a service that helps you fill out and sign PDF templates.
-OpenAPI spec version: v1
+The version of the OpenAPI document: v1
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 3.3.0
+Generator version: 7.11.0
=end
# load the gem
require 'docspring'
-# For debugging
-require 'pry-byebug'
-
# The following was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# The generated `.rspec` file contains `--require spec_helper` which will cause
# this file to always be loaded, without a need to explicitly require it in any
# files.
@@ -56,11 +53,14 @@
# a real object. This is generally recommended, and will default to
# `true` in RSpec 4.
mocks.verify_partial_doubles = true
end
+ # <--------------- BEGIN DOCSPRING CUSTOMIZATION ----------------->
+ # Description: Tweak some RSpec options to make it easier to focus on failing tests
config.filter_run :focus
config.run_all_when_everything_filtered = true
+ # <--------------- END DOCSPRING CUSTOMIZATION ----------------->
# The settings below are suggested to provide a good initial experience
# with RSpec, but feel free to customize to your heart's content.
=begin
# These two settings work together to allow you to limit a spec run