Sha256: 0e62f45add6a7ab0bcaa20a55a0ab6a0d8c8ffbbe85cb4351dda066e002c3c0c
Contents?: true
Size: 607 Bytes
Versions: 3
Compression:
Stored size: 607 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe USPSFlags::Config do describe 'general configuration' do it 'correctlies set the burgees_dir in USPSFlags::Config' do expect(USPSFlags.configuration.burgees_dir).to eql($tmp_burgees_dir) end end describe 'Rails configuration' do before do class Rails def self.root 'tmp/rails_app' end end @config = described_class.new end it 'uses the default Rails log directory' do expect(@config.burgees_dir).to eql('tmp/rails_app/app/lib/usps-burgees') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
usps_flags-burgees-0.1.4 | spec/usps_flags/config_spec.rb |
usps_flags-burgees-0.1.3 | spec/usps_flags/config_spec.rb |
usps_flags-burgees-0.1.2 | spec/usps_flags/config_spec.rb |