spec/dependent_spec.rb in gem-dependent-0.1.6 vs spec/dependent_spec.rb in gem-dependent-0.1.7
- old
+ new
@@ -51,10 +51,10 @@
Gem::Dependent.find('hoe', :source => source)
end
it "obeys parallel option" do
stub_source
- Parallel.should_receive(:map).with(anything, :in_processes => 3).and_return []
+ Gem::Dependent::Parallel.should_receive(:map).with(anything, :in_processes => 3).and_return []
Gem::Dependent.find('hoe', :parallel => 3)
end
it "has a VERSION" do
Gem::Dependent::VERSION.should =~ /^\d+\.\d+\.\d+$/