Sha256: 0ca25ab1f777ac6d2eb9013bb8f2cbcbff5c4e7808bec7984eaa25ca8e7f478d
Contents?: true
Size: 726 Bytes
Versions: 3
Compression:
Stored size: 726 Bytes
Contents
# frozen_string_literal: true $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'bundler/setup' require 'swagger_docs_generator' require 'json-schema-rspec' RSpec.configure do |config| # Configure RSpec config.expect_with :rspec do |c| c.syntax = :expect end # Add libraries config.include JSON::SchemaMatchers # Configure JSON::SchemaMatchers Dir[File.join('spec/support/schemas/', '*.json')].count do |file| json_file = JSON.parse(File.read(file)) json_name = File.basename(file, '.json').to_sym config.json_schemas[json_name] = json_file end # Exclude request with tag broken config.filter_run_excluding broken: true # Customize rspec config.color = true end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
swagger_docs_generator-0.2.0.pre.11 | spec/spec_helper.rb |
swagger_docs_generator-0.2.0.pre.10 | spec/spec_helper.rb |
swagger_docs_generator-0.2.0.pre.9 | spec/spec_helper.rb |