aboutsummaryrefslogtreecommitdiffstats
path: root/spec/other/ext_spec.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2010-11-04 11:31:45 -0700
committerAndre Arko <andre@arko.net>2010-11-04 11:31:49 -0700
commit046e8bb4cda717951d9f4f43cec124ed1b840921 (patch)
tree8ef97ed1c56701009737a9d6e2d588386df536d6 /spec/other/ext_spec.rb
parent87790797f2abd09fd78148bc9d9cb03135ce7810 (diff)
downloadbundler-046e8bb4cda717951d9f4f43cec124ed1b840921.tar.gz
'works' is the worst spec name ever
Diffstat (limited to 'spec/other/ext_spec.rb')
-rw-r--r--spec/other/ext_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/other/ext_spec.rb b/spec/other/ext_spec.rb
index f91bc05e..2dd6afc9 100644
--- a/spec/other/ext_spec.rb
+++ b/spec/other/ext_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
describe "Gem::Specification#match_platform" do
- it "works" do
+ it "does not match platforms other than the gem platform" do
darwin = gem "lol", "1.0", "platform_specific-1.0-x86-darwin-10"
darwin.match_platform(pl('java')).should be_false
end
@@ -10,7 +10,7 @@ end
describe "Bundler::GemHelpers#generic" do
include Bundler::GemHelpers
- it "works" do
+ it "converts non-windows platforms into ruby" do
generic(pl('x86-darwin-10')).should == pl('ruby')
end
end