summaryrefslogtreecommitdiff
path: root/spec/bundler/dsl_spec.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-02-09 09:43:27 +1100
committerAndre Arko <andre@arko.net>2015-02-09 09:43:37 +1100
commitaf8d128a9e7b5036ac2cf5b1fdc8d003ba5bf1e5 (patch)
treea54fc7227764dc2c6732bd37cde21ba335a72bbf /spec/bundler/dsl_spec.rb
parent619185f7ccaba668271a1c4b938dbc1715746ef4 (diff)
downloadbundler-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.rb5
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