Sha256: 9f3b0b007a330ea53a2954dddc7c7200c2d30fd80a958bae0d57a60b8f850bd9
Contents?: true
Size: 580 Bytes
Versions: 13
Compression:
Stored size: 580 Bytes
Contents
require 'action_controller/integration' module Relevance::CoreExtensions::TestCaseExtensions def tarantula_crawl(integration_test, options = {}) url = options[:url] || "/" t = tarantula_crawler(integration_test, options) t.crawl url end def tarantula_crawler(integration_test, options = {}) Relevance::Tarantula::RailsIntegrationProxy.rails_integration_test(integration_test, options) end end if defined? ActionController::IntegrationTest ActionController::IntegrationTest.class_eval { include Relevance::CoreExtensions::TestCaseExtensions } end
Version data entries
13 entries across 13 versions & 4 rubygems