Tarantula for rails app
I am just trying to get a simple tarantula request working, but finding it difficult without an api.
If I have a simple test like `tarantula_crawl(self)` I get an error like

1) Error:
test_tarantula(TarantulaTest):
RuntimeError: 9 failures
    tarantula (0.3.3) [v] lib/relevance/tarantula/crawler.rb:221:in `generate_reports'
    tarantula (0.3.3) [v] lib/relevance/tarantula/crawler.rb:227:in `report_results'
    tarantula (0.3.3) [v] lib/relevance/tarantula/crawler.rb:82:in `crawl'
    tarantula (0.3.3) [v] lib/relevance/core_extensions/test_case.rb:8:in `tarantula_crawl'
    /test/tarantula/tarantula_test.rb:20:in `test_tarantula'

2 tests, 0 assertions, 0 failures, 1 errors
Command failed with status (1): [/usr/bin/ruby1.8 -I"lib:test" "/usr/lib/ru...]

Further if I try a simple test like:

 - def test_with_login   
   post '/login',
   :email => 'scarshark@gmail.com',
   :password => 'asdfasdf1'  
   assert_response :redirect  
   assert_redirected_to '/dashboard'  
   follow_redirect!   t =
   tarantula_crawler(self)   t.crawl '/'
   end

I get

 2) Failure:
test_with_login(TarantulaTest) [/test/tarantula/tarantula_test.rb:25]:
Expected response to be a <:redirect>, but was <200>

I believe it has something to do with my post request. My understanding is it should go to localhost:3000/login and enter the email and password fields submitting the page, but i get a 200 status code instead of redirect.

Any help on learning how to use tarantula better would be great, thanks!

Tarantula for rails app
===

I am just trying to get a simple tarantula request working, but finding it difficult without an api.
If I have a simple test like `tarantula_crawl(self)` I get an error like

1) Error:
test_tarantula(TarantulaTest):
RuntimeError: 9 failures
    tarantula (0.3.3) [v] lib/relevance/tarantula/crawler.rb:221:in `generate_reports'
    tarantula (0.3.3) [v] lib/relevance/tarantula/crawler.rb:227:in `report_results'
    tarantula (0.3.3) [v] lib/relevance/tarantula/crawler.rb:82:in `crawl'
    tarantula (0.3.3) [v] lib/relevance/core_extensions/test_case.rb:8:in `tarantula_crawl'
    /test/tarantula/tarantula_test.rb:20:in `test_tarantula'

2 tests, 0 assertions, 0 failures, 1 errors
Command failed with status (1): [/usr/bin/ruby1.8 -I"lib:test" "/usr/lib/ru...]

Further if I try a simple test like:

 - def test_with_login   
   post '/login',
   :email => 'scarshark@gmail.com',
   :password => 'asdfasdf1'  
   assert_response :redirect  
   assert_redirected_to '/dashboard'  
   follow_redirect!   t =
   tarantula_crawler(self)   t.crawl '/'
   end

I get

 2) Failure:
test_with_login(TarantulaTest) [/test/tarantula/tarantula_test.rb:25]:
Expected response to be a <:redirect>, but was <200>

I believe it has something to do with my post request. My understanding is it should go to localhost:3000/login and enter the email and password fields submitting the page, but i get a 200 status code instead of redirect.

Any help on learning how to use tarantula better would be great, thanks!
