Module: Relevance::CoreExtensions::TestCaseExtensions
- Defined in:
- lib/relevance/core_extensions/test_case.rb
Instance Method Summary collapse
- #tarantula_crawl(integration_test, options = {}) ⇒ Object
- #tarantula_crawler(integration_test, options = {}) ⇒ Object
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, = {}) url = [:url] || "/" t = tarantula_crawler(integration_test, ) 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, = {}) Relevance::Tarantula::RailsIntegrationProxy.rails_integration_test(integration_test, ) end |