Sha256: a42abf83bf3c033ac9e77e4fbc126adad975c66a92c7e5f1073f7a1f201f21af

Contents?: true

Size: 300 Bytes

Versions: 7

Compression:

Stored size: 300 Bytes

Contents

require 'test/unit'
require 'rubygems'
Gem::manage_gems

class TestBuilder < Test::Unit::TestCase
  def test_invalid_spec_does_not_build
    spec = Gem::Specification.new 
    builder = Gem::Builder.new(spec)
    assert_raises(Gem::InvalidSpecificationException) {
      builder.build
   }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rubygems-update-0.8.11 test/test_builder.rb
rubygems-update-0.8.6 test/test_builder.rb
rubygems-update-0.8.10 test/test_builder.rb
rubygems-update-0.8.5 test/test_builder.rb
rubygems-update-0.8.8 test/test_builder.rb
rubygems-update-0.8.4 test/test_builder.rb
rubygems-update-0.8.3 test/test_builder.rb