diff options
author | Carl Lerche <carllerche@mac.com> | 2010-06-03 15:32:32 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-06-03 17:09:14 -0700 |
commit | 3edfddbf7ebe4b942e1e2b6d693afd582e9a8147 (patch) | |
tree | d3c9c1da2a060c23f00d58172830089e1e7d0089 /spec/resolver/basic_spec.rb | |
parent | abf42df5e20d11ea381848655edc71df4449fe84 (diff) | |
download | bundler-3edfddbf7ebe4b942e1e2b6d693afd582e9a8147.tar.gz |
Hacked together some crap that doesn't really work
Diffstat (limited to 'spec/resolver/basic_spec.rb')
-rw-r--r-- | spec/resolver/basic_spec.rb | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/spec/resolver/basic_spec.rb b/spec/resolver/basic_spec.rb index a202db66..177a7b0c 100644 --- a/spec/resolver/basic_spec.rb +++ b/spec/resolver/basic_spec.rb @@ -3,13 +3,18 @@ require "spec_helper" describe "Resolving" do before :each do - @deps = [] @index = an_awesome_index end - it "resolves" do + it "resolves a single gem" do dep "rack" - should_resolve_as [gem("rack", "1.1")] + should_resolve_as %w(rack-1.1) + end + + it "resolves a gem with dependencies" do + dep "actionpack" + + should_resolve_as %w(actionpack-2.3.5 activesupport-2.3.5 rack-1.0) end end
\ No newline at end of file |