Sha256: 23c993393b308ab3bd6412bb2bf92dddaa0511140f80a0a05d9da3ae84c49408
Contents?: true
Size: 308 Bytes
Versions: 4
Compression:
Stored size: 308 Bytes
Contents
module TestHelpers def load_config(config) pwd = File.dirname(__FILE__) config = {:markup_dir => File.join(pwd, 'random-test-wiki')} .merge(config) # Write config file File.open(File.expand_path('../bin/app_config.yml', pwd), 'w') do |f| f.puts config.to_yaml end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
patricia-0.1.3 | spec/test_helpers.rb |
patricia-0.1.2 | spec/test_helpers.rb |
patricia-0.1.1 | spec/test_helpers.rb |
patricia-0.0.1 | spec/test_helpers.rb |