spec/lib/armoire_spec.rb in armoire-1.0.2 vs spec/lib/armoire_spec.rb in armoire-1.1.0

- old
+ new

@@ -61,9 +61,15 @@ subject { Armoire["simple_config_option"] } it { expect(subject).to eql("simple_config_option_value") } end + context "referencing key via symbol instead of string" do + subject { Armoire[:simple_config_option] } + + it { expect(subject).to eql("simple_config_option_value") } + end + context "erb config option" do subject { Armoire["erb_config_option"] } it { expect(subject).to eql("erb_config_option_value") } end