aboutsummaryrefslogtreecommitdiffstats
path: root/spec/runtime/require_spec.rb
diff options
context:
space:
mode:
authorCarlhuda <carlhuda@engineyard.com>2010-03-09 12:05:35 -0800
committerCarlhuda <carlhuda@engineyard.com>2010-03-09 12:07:51 -0800
commitd56104cf29a88ac434cbed80a0ee3623ec1d902d (patch)
tree921099cc0b09fd56f0c6396470efb9ccd4467f96 /spec/runtime/require_spec.rb
parentfe81be9dfeae10c7092b78d61a9869506d3ac33f (diff)
downloadbundler-d56104cf29a88ac434cbed80a0ee3623ec1d902d.tar.gz
Always sort rake first in the dependency list
Diffstat (limited to 'spec/runtime/require_spec.rb')
-rw-r--r--spec/runtime/require_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/runtime/require_spec.rb b/spec/runtime/require_spec.rb
index c257721d..a25138ba 100644
--- a/spec/runtime/require_spec.rb
+++ b/spec/runtime/require_spec.rb
@@ -68,7 +68,7 @@ describe "Bundler.require" do
# required in resolver order instead of gemfile order
run("Bundler.require(:not)")
- out.should == "seven\nthree"
+ out.split("\n").sort.should == ['seven', 'three']
end
it "requires the locked gems" do
@@ -95,7 +95,7 @@ describe "Bundler.require" do
locked_require(:string).should == "six"
# required in resolver order instead of gemfile order
- locked_require(:not).should == "seven\nthree"
+ locked_require(:not).split("\n").sort.should == ['seven', 'three']
end
it "allows requiring gems with non standard names explicitly" do