spec/processor_spec.rb in pupa-0.0.8 vs spec/processor_spec.rb in pupa-0.0.9
- old
+ new
@@ -13,10 +13,10 @@
def make_person_invalid
@person = Pupa::Person.new
end
def scrape_people
- Fiber.yield(person)
+ dispatch(person)
end
end
before :all do
PersonProcessor.add_scraping_task(:people)