Module: Relevance::CoreExtensions::TestCaseExtensions

Defined in:
lib/relevance/core_extensions/test_case.rb

Instance Method Summary collapse

Instance Method Details

#tarantula_crawl(integration_test, options = {}) ⇒ Object



5
6
7
8
9
# File 'lib/relevance/core_extensions/test_case.rb', line 5

def tarantula_crawl(integration_test, options = {})
  url = options[:url] || "/"
  t = tarantula_crawler(integration_test, options)
  t.crawl url
end

#tarantula_crawler(integration_test, options = {}) ⇒ Object



11
12
13
# File 'lib/relevance/core_extensions/test_case.rb', line 11

def tarantula_crawler(integration_test, options = {})
  Relevance::Tarantula::RailsIntegrationProxy.rails_integration_test(integration_test, options)
end