summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshekharrajak <shekharstudy@ymail.com>2017-02-23 01:16:33 +0530
committershekharrajak <shekharstudy@ymail.com>2017-02-23 01:16:33 +0530
commit9f64468216c169692a943ab1927bd7ae306f88d5 (patch)
tree660093733509bd2a7629401757552bc4b65c3b6a
parentb78a3f0bfe73a988704ccb45dc04d3cea19e6db7 (diff)
downloadbundler-9f64468216c169692a943ab1927bd7ae306f88d5.tar.gz
failed testcase fixed
-rw-r--r--spec/commands/inject_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/commands/inject_spec.rb b/spec/commands/inject_spec.rb
index 53cc0a1ae4..4fe505d28c 100644
--- a/spec/commands/inject_spec.rb
+++ b/spec/commands/inject_spec.rb
@@ -54,9 +54,9 @@ Usage: "bundle inject GEM VERSION"
context "with source option" do
it "add gem with source option in gemfile" do
- bundle "inject 'bootstrap' '>0' --source=https://ruby.taobao.org/"
+ bundle "inject 'foo' '>0' --source file://#{gem_repo1}"
gemfile = bundled_app("Gemfile").read
- str = "gem 'bootstrap', '> 0', :source => 'https://ruby.taobao.org/'"
+ str = "gem 'foo', '> 0', :source => 'file://#{gem_repo1}'"
expect(gemfile).to include str
end
end