mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 07:16:40 +00:00
chore(auth): Add documentation and specs
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
require 'bundler/setup'
|
||||
|
||||
require 'rack'
|
||||
require 'rswag/ui/configuration'
|
||||
|
||||
RSpec.configure do |config|
|
||||
# Enable flags like --only-failures and --next-failure
|
||||
config.example_status_persistence_file_path = ".rspec_status"
|
||||
|
||||
# Disable RSpec exposing methods globally on `Module` and `main`
|
||||
config.disable_monkey_patching!
|
||||
|
||||
config.expect_with :rspec do |c|
|
||||
c.syntax = :expect
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user