Sha256: 4f403ce1dec07ed6b67f5426f1291c0f4641ee89dcfa1cffcc9908fa216a8c95

Contents?: true

Size: 596 Bytes

Versions: 14

Compression:

Stored size: 596 Bytes

Contents

require 'spec_helper'

describe USPSFlags::Config do
  describe "general configuration" do
    it "should correctly 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(:each) do
      class Rails
        def self.root
          "tmp/rails_app"
        end
      end

      @config = USPSFlags::Config.new
    end

    it "should use 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

14 entries across 14 versions & 1 rubygems

Version Path
usps_flags-burgees-0.0.22 spec/usps_flags/burgees/config_spec.rb
usps_flags-burgees-0.0.21 spec/usps_flags/burgees/config_spec.rb
usps_flags-burgees-0.0.20 spec/usps_flags/burgees/config_spec.rb
usps_flags-burgees-0.0.19 spec/usps_flags/burgees/config_spec.rb
usps_flags-burgees-0.0.18 spec/usps_flags/burgees/config_spec.rb
usps_flags-burgees-0.0.17 spec/usps_flags/burgees/config_spec.rb
usps_flags-burgees-0.0.16 spec/usps_flags/burgees/config_spec.rb
usps_flags-burgees-0.0.15 spec/usps_flags/burgees/config_spec.rb
usps_flags-burgees-0.0.14 spec/usps_flags/burgees/config_spec.rb
usps_flags-burgees-0.0.13 spec/usps_flags/burgees/config_spec.rb
usps_flags-burgees-0.0.12 spec/usps_flags/burgees/config_spec.rb
usps_flags-burgees-0.0.11 spec/usps_flags/burgees/config_spec.rb
usps_flags-burgees-0.0.10 spec/usps_flags/burgees/config_spec.rb
usps_flags-burgees-0.0.9 spec/usps_flags/burgees/config_spec.rb