Sha256: fd7f4ce30e56a0e706a8d35aa4b1a38fb8e4a9300e6c5a02934a9ba0908f9128
Contents?: true
Size: 765 Bytes
Versions: 14
Compression:
Stored size: 765 Bytes
Contents
module AeEasy module Core module Mock # Fake seeder that emulates `AnswersEngine` seeder executor. class FakeSeeder include AeEasy::Core::Mock::FakeExecutor # Fake seeder exposed methods to isolated context. # @private # # @return [Array] def self.exposed_methods real_methods = AnswersEngine::Scraper::RubySeederExecutor.exposed_methods.uniq mock_methods = [ :outputs, :pages, :save_pages, :save_outputs, :find_output, :find_outputs ].freeze AeEasy::Core::Mock::FakeExecutor.check_compatibility real_methods, mock_methods mock_methods end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems