Sha256: c55a824db8654cb57f4c90468b3f67259b5b75180c8afcdf4365cfee72287811
Contents?: true
Size: 961 Bytes
Versions: 3
Compression:
Stored size: 961 Bytes
Contents
# frozen_string_literal: true require_relative 'by_macros_examples' require_relative 'by_instance_method_examples' describe 'Load setting values from JSON file' do describe 'DSL macros (Qonfig::DataSet.values_file)' do it_behaves_like 'load setting values from file by macros', file_name: SpecSupport.fixture_path('values_file', 'without_env.json'), file_with_env_name: SpecSupport.fixture_path('values_file', 'with_env.json'), file_format: :json end describe 'Instance methods (Qonfig::DataSet#load_from_file/.load_from_json' do it_behaves_like 'load setting values from file by instance methods', file_name: SpecSupport.fixture_path('values_file', 'without_env.json'), file_with_env_name: SpecSupport.fixture_path('values_file', 'with_env.json'), load_by: :load_from_json, file_format: :json end end
Version data entries
3 entries across 3 versions & 1 rubygems