diff options
author | Andre Arko <andre@arko.net> | 2015-02-09 09:43:27 +1100 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2015-02-09 09:43:37 +1100 |
commit | af8d128a9e7b5036ac2cf5b1fdc8d003ba5bf1e5 (patch) | |
tree | a54fc7227764dc2c6732bd37cde21ba335a72bbf /spec/bundler/dsl_spec.rb | |
parent | 619185f7ccaba668271a1c4b938dbc1715746ef4 (diff) | |
download | bundler-af8d128a9e7b5036ac2cf5b1fdc8d003ba5bf1e5.tar.gz |
generate a github URI from the github method
fixes #3379
Diffstat (limited to 'spec/bundler/dsl_spec.rb')
-rw-r--r-- | spec/bundler/dsl_spec.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/bundler/dsl_spec.rb b/spec/bundler/dsl_spec.rb index c2387637cc..e3ff2306e9 100644 --- a/spec/bundler/dsl_spec.rb +++ b/spec/bundler/dsl_spec.rb @@ -165,7 +165,10 @@ describe Bundler::Dsl do subject.github "spree" do spree_gems.each { |spree_gem| subject.send :gem, spree_gem } end - expect(subject.dependencies.map(&:name)).to match_array spree_gems + + subject.dependencies.each do |d| + expect(d.source.uri).to eq("git://github.com/spree/spree.git") + end end end end |