diff options
author | Andre Arko <andre@arko.net> | 2014-11-10 20:24:58 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2014-11-10 20:24:58 -0800 |
commit | 6ba537fc069a75d473080ba3f724ac2aa06346e4 (patch) | |
tree | 5766e11fef32b62974fe8c58d8cded2433122967 /spec/bundler/source_list_spec.rb | |
parent | 00a795c763d7a67d40ca868e4ad2a7386d712d3e (diff) | |
parent | 28b3808c7d9c8331f497fc865569c1ab716f58f1 (diff) | |
download | bundler-6ba537fc069a75d473080ba3f724ac2aa06346e4.tar.gz |
Merge tag 'v1.7.5'
Version 1.7.5
Conflicts:
.travis.yml
CHANGELOG.md
lib/bundler/fetcher.rb
lib/bundler/source_list.rb
man/gemfile.5.ronn
spec/bundler/source_list_spec.rb
Diffstat (limited to 'spec/bundler/source_list_spec.rb')
-rw-r--r-- | spec/bundler/source_list_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/bundler/source_list_spec.rb b/spec/bundler/source_list_spec.rb index dce84c65de..7c422d3dae 100644 --- a/spec/bundler/source_list_spec.rb +++ b/spec/bundler/source_list_spec.rb @@ -335,18 +335,18 @@ describe Bundler::SourceList do end describe "#lock_sources" do - it "combines the rubygems sources into a single instance, removing duplicate remotes from the front" do + it "combines the rubygems sources into a single instance, removing duplicate remotes from the end" do source_list.add_svn_source('uri' => 'svn://second-svn.org/path') source_list.add_git_source('uri' => 'git://third-git.org/path.git') - source_list.add_rubygems_source('remotes' => ['https://fourth-rubygems.org']) # intentional duplicate + source_list.add_rubygems_source('remotes' => ['https://duplicate-rubygems.org']) source_list.add_path_source('path' => '/third/path/to/gem') - source_list.add_rubygems_source('remotes' => ['https://first-rubygems.org']) + source_list.add_rubygems_source('remotes' => ['https://third-rubygems.org']) source_list.add_path_source('path' => '/second/path/to/gem') source_list.add_rubygems_source('remotes' => ['https://second-rubygems.org']) source_list.add_git_source('uri' => 'git://second-git.org/path.git') - source_list.add_rubygems_source('remotes' => ['https://third-rubygems.org']) + source_list.add_rubygems_source('remotes' => ['https://first-rubygems.org']) source_list.add_path_source('path' => '/first/path/to/gem') - source_list.add_rubygems_source('remotes' => ['https://fourth-rubygems.org']) + source_list.add_rubygems_source('remotes' => ['https://duplicate-rubygems.org']) source_list.add_git_source('uri' => 'git://first-git.org/path.git') source_list.add_svn_source('uri' => 'svn://first-svn.org/path') @@ -360,10 +360,10 @@ describe Bundler::SourceList do Bundler::Source::SVN.new('uri' => 'svn://first-svn.org/path'), Bundler::Source::SVN.new('uri' => 'svn://second-svn.org/path'), Bundler::Source::Rubygems.new('remotes' => [ + 'https://duplicate-rubygems.org', 'https://first-rubygems.org', 'https://second-rubygems.org', 'https://third-rubygems.org', - 'https://fourth-rubygems.org', ]), ] end |