U:RDoc::NormalClass[iI"SpecFetcherSetup:ETI"$Gem::TestCase::SpecFetcherSetup;TI" Object;To:RDoc::Markup::Document: @parts[o;;[ o:RDoc::Markup::Paragraph;[I"QThe SpecFetcherSetup allows easy setup of a remote source in RubyGems tests:;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;[ I"spec_fetcher do |f| ;TI" f.gem 'a', 1 ;TI" f.spec 'a', 2 ;TI"& f.gem 'b', 1' 'a' => '~> 1.0' ;TI" end ;T: @format0o; ;[I"QThe above declaration creates two gems, a-1 and b-1, with a dependency from ;TI"Pb to a. The declaration creates an additional spec a-2, but no gem for it ;TI"!(so it cannot be installed).;T@o; ;[I">After the gems are created they are removed from Gem.dir.;T: @fileI"#lib/rubygems/test_utilities.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[[[[[I" class;T[[: public[[I" declare;FI"#lib/rubygems/test_utilities.rb;T[:protected[[: private[[I" instance;T[[;[ [I"created_specs;F@-[I" download;F@-[I"gem;F@-[I"legacy_platform;F@-[I" spec;F@-[;[[;[[[U:RDoc::Context::Section[i0o;;[; 0;0[@!@!cRDoc::TopLevel