Sha256: da6d08a207b5c5d9213793fc94b6ba6808307a277cf3e88702d57af9b0ea8345
Contents?: true
Size: 587 Bytes
Versions: 1
Compression:
Stored size: 587 Bytes
Contents
require 'action_dispatch/testing/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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tarantula-rails3-0.3.3 | lib/relevance/core_extensions/test_case.rb |