summaryrefslogtreecommitdiff
path: root/spec/commands
diff options
context:
space:
mode:
authorJuanitoFatas <katehuang0320@gmail.com>2016-08-26 17:15:35 +0800
committerJuanitoFatas <katehuang0320@gmail.com>2016-08-26 23:27:01 +0800
commit73fc9058bd2ee78e707e34cdc6f9ea62cbadcb14 (patch)
tree42de44ad66429ffdc46ba9a5a6a22d40505e3811 /spec/commands
parenta4a5f1c53156e85c597e9938f08e874930199957 (diff)
downloadbundler-73fc9058bd2ee78e707e34cdc6f9ea62cbadcb14.tar.gz
Add parseable option to bundle config
Diffstat (limited to 'spec/commands')
-rw-r--r--spec/commands/config_spec.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/commands/config_spec.rb b/spec/commands/config_spec.rb
index fce6102c29..040b04e57b 100644
--- a/spec/commands/config_spec.rb
+++ b/spec/commands/config_spec.rb
@@ -187,6 +187,16 @@ describe ".bundle/config" do
end
end
+ context "with --parseable option" do
+ it "returns value associated with the config" do
+ global_config "BUNDLE_GEM__COC" => "true"
+
+ bundle "config gem.coc", :parseable => true
+
+ expect(out).to eq "true"
+ end
+ end
+
describe "gem mirrors" do
before(:each) { bundle :install }