module RailsZero
  class GenerateSiteJob
    def run
      RailsZero.pages_config.links.each do |path|
        Capybara.visit path
      end
    end
  end
end

module RailsZero
  class GenerateSiteJob
    def run
      RailsZero.pages_config.links.each do |path|
        ::Capybara.visit path
      end
      ::Capybara.reset_sessions!
    end
  end
end

Fix capybara in generate site job.
Fix capybara in generate site job.
