Sha256: 0edf54f7eed1a77adea2895519a221c64a487ec7f5244527afe514e11c275b58
Contents?: true
Size: 529 Bytes
Versions: 18
Compression:
Stored size: 529 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 = { 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
18 entries across 18 versions & 1 rubygems