Sha256: d983be98782ce2d689d460f193541c4fbd238e4639f262e8b3f9a687ceee2066
Contents?: true
Size: 440 Bytes
Versions: 10
Compression:
Stored size: 440 Bytes
Contents
require 'spec_helper' describe Elasticrawl::Config do describe '#load_config' do subject { Elasticrawl::Config.new } it 'should return a hash of config data' do config_data = subject.load_config('jobs') expect(config_data).to be_a Hash end it 'should load yaml config file' do config_data = subject.load_config('jobs') expect(config_data['s3_bucket_name']).to eq 'elasticrawl' end end end
Version data entries
10 entries across 10 versions & 1 rubygems