aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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