Sha256: 69b086102971368ae37e532029f6b265ed88d5304d2a0807379d2d6178d49972
Contents?: true
Size: 845 Bytes
Versions: 14
Compression:
Stored size: 845 Bytes
Contents
require 'spec_helper' describe USPSFlags::Config do describe "flags_dir" do it "should return the current flags directory" do default_flags_dir = File.dirname(__dir__).gsub("/spec", "/lib") + "/output" expect(USPSFlags::Config.flags_dir).to eql(default_flags_dir) end it "should return the new flags directory when given a new path" do new_flags_dir = "#{File.dirname(__dir__)}/flags" expect(USPSFlags::Config.flags_dir(new_flags_dir)).to eql(new_flags_dir) end end describe "trident" do it "should return a Hash from trident" do expect(USPSFlags::Config.trident).to be_a(Hash) end end describe "use_larger_tridents" do it "should return a Boolean from use_larger_tridents" do expect([true, false]).to include(USPSFlags::Config.use_larger_tridents) end end end
Version data entries
14 entries across 14 versions & 1 rubygems