Sha256: d96c93b1f99be35a03c18739e51f4afff93fd9a7103592b305a5f3107edf6f36
Contents?: true
Size: 1.45 KB
Versions: 12
Compression:
Stored size: 1.45 KB
Contents
class ToolsModuleTest < Minitest::Test def self.test_order :sorted end def test_config_A_before ToolsFiles.remove_file (File.dirname __dir__) + '/tools_yaml.config' ToolsFiles.remove_file (File.dirname __dir__) + '/tools_json.config' end def test_config_B_create ToolsConfig.create_config_file 'tools_yaml', (File.dirname __dir__) + '/tools_yaml.config', :yaml, first_time: true ToolsConfig.create_config_file 'tools_json', (File.dirname __dir__) + '/tools_json.config', :json, first_time: true ToolsConfig.create_config_file 'tools_json', (File.dirname __dir__) + '/tools_json.config', :json, first_time: true end def test_config_C_load ToolsConfig.load_config (File.dirname __dir__) + '/tools_yaml.config' ToolsConfig.load_config (File.dirname __dir__) + '/tools_json.config' end def test_config_D_insert ToolsConfig.insert_in_config (File.dirname __dir__) + '/tools_yaml.config', first_time: false ToolsConfig.insert_in_config (File.dirname __dir__) + '/tools_json.config', first_time: false end def test_config_E_change ToolsConfig.change_value_in_config (File.dirname __dir__) + '/tools_yaml.config', true, :first_time ToolsConfig.change_value_in_config (File.dirname __dir__) + '/tools_json.config', true, :first_time end def test_config_F_after ToolsFiles.remove_file (File.dirname __dir__) + '/tools_yaml.config' ToolsFiles.remove_file (File.dirname __dir__) + '/tools_json.config' end end
Version data entries
12 entries across 12 versions & 1 rubygems