Sha256: 5298ff7ccba6e05c0b434c844509e70ae746dc59f1b26ee456c6ed008e69029b

Contents?: true

Size: 828 Bytes

Versions: 12

Compression:

Stored size: 828 Bytes

Contents

require "test_helper"
require "relevance/tarantula"

class TarantulaTest < ActionController::IntegrationTest
  # Load enough test data to ensure that there's a link to every page in your
  # application. Doing so allows Tarantula to follow those links and crawl 
  # every page.  For many applications, you can load a decent data set by
  # loading all fixtures.
  fixtures :all

  def test_tarantula
    # If your application requires users to log in before accessing certain 
    # pages, uncomment the lines below and update them to allow this test to
    # log in to your application.  Doing so allows Tarantula to crawl the 
    # pages that are only accessible to logged-in users.
    # 
    #   post '/session', :login => 'quentin', :password => 'monkey'
    #   follow_redirect!
    
    tarantula_crawl(self)
  end
end

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
codez-tarantula-0.5.5 template/tarantula_test.rb
codez-tarantula-0.5.4 template/tarantula_test.rb
codez-tarantula-0.5.3 template/tarantula_test.rb
codez-tarantula-0.5.1 template/tarantula_test.rb
codez-tarantula-0.5.0 template/tarantula_test.rb
tarantula-0.5.1 template/tarantula_test.rb
tarantula-0.5.0 template/tarantula_test.rb
tarantula-0.4.3 template/tarantula_test.rb
tarantula-0.4.2 template/tarantula_test.rb
tarantula-0.4.1 template/tarantula_test.rb
tarantula-0.4.0 template/tarantula_test.rb
tarantula-rails3-0.3.3 template/tarantula_test.rb