Sha256: b85da698fe0dc63d74b800abb99c30bfba59d97f1a8fe3b375309a8bffea8f99
Contents?: true
Size: 740 Bytes
Versions: 11
Compression:
Stored size: 740 Bytes
Contents
require 'spec_helper' describe Jekyll::S3::ConfigLoader do it 'supports eRuby syntax in _jekyll_s3.yml' do config = Jekyll::S3::ConfigLoader.load_configuration('spec/sample_files/hyde_site/_site') config['s3_id'].should eq('hello') config['s3_secret'].should eq('world') config['s3_bucket'].should eq('galaxy') end it 'does not define default endpoint' do config = Jekyll::S3::ConfigLoader.load_configuration('spec/sample_files/hyde_site/_site') config['s3_endpoint'].should be_nil end it 'reads the S3 endpoint setting from _jekyll_s3.yml' do config = Jekyll::S3::ConfigLoader.load_configuration('spec/sample_files/tokyo_site/_site') config['s3_endpoint'].should eq('ap-northeast-1') end end
Version data entries
11 entries across 11 versions & 1 rubygems