Sha256: 88cb0677689da06d017188b33db4c312d8dae588538bec1a1b8dae4f63696979

Contents?: true

Size: 456 Bytes

Versions: 8

Compression:

Stored size: 456 Bytes

Contents

require 'spec_helper'

describe "Gem::Specification#match_platform" 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
end

describe "Bundler::GemHelpers#generic" do
  include Bundler::GemHelpers

  it "converts non-windows platforms into ruby" do
    generic(pl('x86-darwin-10')).should == pl('ruby')
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
bundler-1.0.11 spec/other/ext_spec.rb
bundler_package_git-1.1.pre.1 spec/other/ext_spec.rb
bundler-1.1.pre.1 spec/other/ext_spec.rb
bundler-1.0.10 spec/other/ext_spec.rb
bundler-1.1.pre spec/other/ext_spec.rb
bundler-1.0.9 spec/other/ext_spec.rb
bundler-1.0.7 spec/other/ext_spec.rb
bundler-1.0.5 spec/other/ext_spec.rb