Sha256: 6d3dacb95b7300a847e61d2d8cda671bf6de0825369930460985809e0d90cc9c
Contents?: true
Size: 1.14 KB
Versions: 3
Compression:
Stored size: 1.14 KB
Contents
# frozen_string_literal: true require_relative '../../../load_setting_values_from_file/by_macros_examples' require_relative '../../../load_setting_values_from_file/by_instance_method_examples' describe 'Plugins(toml): Load setting values from file', plugin: :toml do describe 'DSL macros (Qonfig::DataSet.values_file)' do it_behaves_like( 'load setting values from file by macros', file_format: :toml, file_name: SpecSupport.fixture_path('plugins', 'toml', 'values_file', 'without_env.toml'), file_with_env_name: SpecSupport.fixture_path('plugins', 'toml', 'values_file', 'with_env.toml') ) end describe 'Instance methods (Qonfig::DataSet#load_from_file/.load_from_toml' do it_behaves_like( 'load setting values from file by instance methods', file_format: :toml, load_by: :load_from_toml, file_name: SpecSupport.fixture_path('plugins', 'toml', 'values_file', 'without_env.toml'), file_with_env_name: SpecSupport.fixture_path('plugins', 'toml', 'values_file', 'with_env.toml') ) end end
Version data entries
3 entries across 3 versions & 1 rubygems