Sha256: e644d9a681f687638ed1f1546e4e67ef37cb5ffd6fbabb308870a533dfd18a0f
Contents?: true
Size: 971 Bytes
Versions: 16
Compression:
Stored size: 971 Bytes
Contents
# frozen_string_literal: true require "rspec/matchers" require "equivalent-xml" 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 def fixture_path(filename) File.expand_path("../fixtures/#{filename}", __FILE__) end end # configuration example require_relative "../lib/lutaml/model" require_relative "../lib/lutaml/model/xml_adapter/nokogiri_adapter" require_relative "../lib/lutaml/model/xml_adapter/ox_adapter" require_relative "../lib/lutaml/model/toml_adapter/toml_rb_adapter" Lutaml::Model::Config.configure do |config| config.xml_adapter_type = :nokogiri config.json_adapter_type = :standard_json config.yaml_adapter_type = :standard_yaml config.toml_adapter_type = :toml_rb end
Version data entries
16 entries across 16 versions & 1 rubygems