Sha256: b1e68610763e2d486247488358e69f5bec71e45f52569aa97cfeab30bff91d3e

Contents?: true

Size: 857 Bytes

Versions: 21

Compression:

Stored size: 857 Bytes

Contents

require "#{File.dirname(__FILE__)}/../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

21 entries across 21 versions & 4 rubygems

Version Path
relevance-tarantula-0.1.0 template/tarantula_test.rb
relevance-tarantula-0.1.1 template/tarantula_test.rb
relevance-tarantula-0.1.2 template/tarantula_test.rb
relevance-tarantula-0.1.3 template/tarantula_test.rb
relevance-tarantula-0.1.4 template/tarantula_test.rb
relevance-tarantula-0.1.5 template/tarantula_test.rb
relevance-tarantula-0.1.6 template/tarantula_test.rb
relevance-tarantula-0.1.7 template/tarantula_test.rb
relevance-tarantula-0.1.8 template/tarantula_test.rb
relevance-tarantula-0.2.0 template/tarantula_test.rb
relevance-tarantula-0.2.1 template/tarantula_test.rb
relevance-tarantula-0.3.2 template/tarantula_test.rb
relevance-tarantula-0.3.3 template/tarantula_test.rb
romanbsd-tarantula-0.1.8 template/tarantula_test.rb
romanbsd-tarantula-0.2.0 template/tarantula_test.rb
panmind-tarantula-0.3.3 template/tarantula_test.rb
tarantula-0.3.3 template/tarantula_test.rb
tarantula-0.1.8 template/tarantula_test.rb
tarantula-0.1.4 template/tarantula_test.rb
tarantula-0.2.0 template/tarantula_test.rb