module RSpec::Resources
Constants
- DOCUMENT_FORMATS
- VERSION
Public Class Methods
configuration()
click to toggle source
# File lib/rspec/resources.rb, line 16 def self.configuration @configuration ||= Configuration.new end
configure() { |configuration| ... }
click to toggle source
Configures rspec-resources
See RSpec::Resources::Configuration
for more information on configuring.
RSpec::Resources.configure do |config| config.document_format = :jsonapi end
# File lib/rspec/resources.rb, line 27 def self.configure yield configuration if block_given? end