Sha256: 91a6feecd8802aa9492b80ba589a52bb3732c2cab93b7574357f6c5455435004
Contents?: true
Size: 625 Bytes
Versions: 5
Compression:
Stored size: 625 Bytes
Contents
require 'rspec' require 'configure-s3-website' describe ConfigureS3Website::FileConfigSource do let(:yaml_file_path) { 'spec/sample_files/_config_file_with_eruby.yml' } let(:config_source) { ConfigureS3Website::FileConfigSource.new(yaml_file_path) } it 'can parse files that contain eRuby code' do config_source.s3_access_key_id.should eq('hello world') config_source.s3_secret_access_key.should eq('secret world') config_source.s3_bucket_name.should eq('my-bucket') end it 'returns the yaml file path as description' do config_source.description.should eq(yaml_file_path) end end
Version data entries
5 entries across 5 versions & 1 rubygems