Sha256: 9a7f874a772076724ab57dbb57f506182d4ab01f50713e1247c438edaf0f29ba
Contents?: true
Size: 655 Bytes
Versions: 7
Compression:
Stored size: 655 Bytes
Contents
require 'rspec/core' require 'ropen_pi/specs/example_group_helpers' require 'ropen_pi/specs/example_helpers' require 'ropen_pi/specs/configuration' require 'ropen_pi/specs/railtie' if defined?(Rails::Railtie) module RopenPi module Specs # Extend RSpec with a swagger-based DSL ::RSpec.configure do |config| config.add_setting :root_dir config.add_setting :open_api_docs config.add_setting :open_api_output_format config.extend ExampleGroupHelpers, type: :request config.include ExampleHelpers, type: :request end def self.config @config ||= Configuration.new(RSpec.configuration) end end end
Version data entries
7 entries across 7 versions & 1 rubygems