Sha256: 7a9e6320ba96e0684121732120501ccc72a55beaf4c9f7c7dbc8cd7a2cb880b1
Contents?: true
Size: 515 Bytes
Versions: 8
Compression:
Stored size: 515 Bytes
Contents
require 'spec_helper' describe ModuleSync do context '::update' do it 'loads the managed modules from the specified :managed_modules_conf' do allow(ModuleSync).to receive(:find_template_files).and_return([]) allow(ModuleSync::Util).to receive(:parse_config).with('./config_defaults.yml').and_return({}) expect(ModuleSync).to receive(:managed_modules).with(no_args).and_return([]) options = { managed_modules_conf: 'test_file.yml' } ModuleSync.update(options) end end end
Version data entries
8 entries across 8 versions & 1 rubygems