Sha256: 9ee931c0b8756dec160c0c1391afce7073dd807535eaf4c563b8aad66de8b0a8
Contents?: true
Size: 548 Bytes
Versions: 6
Compression:
Stored size: 548 Bytes
Contents
# frozen_string_literal: true require 'rails_spec_helper' require 'active_support/core_ext' require 'appmap/config' describe AppMap::Config, docker: false do it 'loads from a Hash' do config_data = { exclude: [], name: 'test', packages: [ { path: 'path-1' }, { path: 'path-2', exclude: [ 'exclude-1' ] } ] }.deep_stringify_keys! config = AppMap::Config.load(config_data) expect(config.to_h.deep_stringify_keys!).to eq(config_data) end end
Version data entries
6 entries across 6 versions & 1 rubygems