spk / validate-website

Web crawler for checking the validity of your documents.
https://spk.github.com/validate-website/
MIT License
38 stars 9 forks source link

Lien relatif dans la CSS #3

Closed nono closed 14 years ago

nono commented 14 years ago

Apparemment, validate-website n'a pas l'air d'aimer les liens relatifs dans la CSS :

~% validate-website -s http://afup.org/pages/forumphp2010/index.php -d
[...]
http://afup.org/templates/forumphp2010/style.css Queue: 50
/home/nono/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/uri/common.rb:156:in `split': bad URI(is not URI?): [\images/cartouche-milieu.png\] (URI::InvalidURIError)
from /home/nono/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/uri/common.rb:174:in `parse'
from /home/nono/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/uri/common.rb:628:in `parse'
from /home/nono/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/uri/common.rb:844:in `URI'
from /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/validate-website-0.5.0/lib/validate_website.rb:125:in `block (3 levels) in crawl'
from /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/validate-website-0.5.0/lib/validate_website.rb:123:in `each'
from /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/validate-website-0.5.0/lib/validate_website.rb:123:in `block (2 levels) in crawl'
from /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:254:in `call'
from /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:254:in `links_to_follow'
from /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:165:in `block in run'
from /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:158:in `loop'
from /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:158:in `run'
from /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:84:in `block in crawl'
from /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:75:in `initialize'
from /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:82:in `new'
from /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:82:in `crawl'
from /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:16:in `crawl'
from /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/validate-website-0.5.0/lib/validate_website.rb:107:in `crawl'
from /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/validate-website-0.5.0/bin/validate-website:13:in `<top (required)>'
from /home/nono/.rvm/gems/ruby-1.9.2-p0/bin/validate-website:19:in `load'
from /home/nono/.rvm/gems/ruby-1.9.2-p0/bin/validate-website:19:in `<main>'
francois2metz commented 14 years ago

C'est ma faute :(. Je regarde ça.

francois2metz commented 14 years ago

Ca marche chez moi avec ruby 1.8.7.

Tu pourrais lancer les tests avec ruby-1.9.2 ?

nono commented 14 years ago

Oui, voilà le résultat :

~gem/validate-website-0.5.0% rake spec          
(in /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/validate-website-0.5.0)
/home/nono/.rvm/rubies/ruby-1.9.2-p0/bin/ruby -S rspec --backtrace "spec/validator_spec.rb" "spec/validate_website_spec.rb"
.F..FFF

Failures:
  1) Validator html5 should be valid
     Failure/Error: validator.should be_valid
     expected valid? to return true, got false
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-expectations-2.0.1/lib/rspec/expectations/fail_with.rb:29:in `fail_with'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-expectations-2.0.1/lib/rspec/expectations/handler.rb:21:in `handle_matcher'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-expectations-2.0.1/lib/rspec/expectations/extensions/kernel.rb:27:in `should'
     # ./spec/validator_spec.rb:31:in `block (2 levels) in <top (required)>'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'

  2) ValidateWebsite css should crawl css and extract url
     Failure/Error: @validate_website.crawl(page.url)
     bad URI(is not URI?): [pouet]
     # /home/nono/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/uri/common.rb:156:in `split'
     # /home/nono/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/uri/common.rb:174:in `parse'
     # /home/nono/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/uri/common.rb:628:in `parse'
     # /home/nono/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/uri/common.rb:844:in `URI'
     # ./lib/validate_website.rb:125:in `block (3 levels) in crawl'
     # ./lib/validate_website.rb:123:in `each'
     # ./lib/validate_website.rb:123:in `block (2 levels) in crawl'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:254:in `call'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:254:in `links_to_follow'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:165:in `block in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:158:in `loop'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:158:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:84:in `block in crawl'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:75:in `initialize'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:82:in `new'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:82:in `crawl'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:16:in `crawl'
     # ./lib/validate_website.rb:107:in `crawl'
     # ./spec/validate_website_spec.rb:30:in `block (3 levels) in <top (required)>'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'

  3) ValidateWebsite css should extract url with single quote
     Failure/Error: @validate_website.crawl(page.url)
     bad URI(is not URI?): [pouet]
     # /home/nono/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/uri/common.rb:156:in `split'
     # /home/nono/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/uri/common.rb:174:in `parse'
     # /home/nono/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/uri/common.rb:628:in `parse'
     # /home/nono/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/uri/common.rb:844:in `URI'
     # ./lib/validate_website.rb:125:in `block (3 levels) in crawl'
     # ./lib/validate_website.rb:123:in `each'
     # ./lib/validate_website.rb:123:in `block (2 levels) in crawl'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:254:in `call'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:254:in `links_to_follow'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:165:in `block in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:158:in `loop'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:158:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:84:in `block in crawl'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:75:in `initialize'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:82:in `new'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:82:in `crawl'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:16:in `crawl'
     # ./lib/validate_website.rb:107:in `crawl'
     # ./spec/validate_website_spec.rb:38:in `block (3 levels) in <top (required)>'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'

  4) ValidateWebsite css should extract url with double quote
     Failure/Error: @validate_website.crawl(page.url)
     bad URI(is not URI?): [\pouet\]
     # /home/nono/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/uri/common.rb:156:in `split'
     # /home/nono/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/uri/common.rb:174:in `parse'
     # /home/nono/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/uri/common.rb:628:in `parse'
     # /home/nono/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/uri/common.rb:844:in `URI'
     # ./lib/validate_website.rb:125:in `block (3 levels) in crawl'
     # ./lib/validate_website.rb:123:in `each'
     # ./lib/validate_website.rb:123:in `block (2 levels) in crawl'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:254:in `call'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:254:in `links_to_follow'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:165:in `block in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:158:in `loop'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:158:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:84:in `block in crawl'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:75:in `initialize'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:82:in `new'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:82:in `crawl'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/spk-anemone-0.4.0/lib/anemone/core.rb:16:in `crawl'
     # ./lib/validate_website.rb:107:in `crawl'
     # ./spec/validate_website_spec.rb:46:in `block (3 levels) in <top (required)>'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `block (2 levels) in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44:in `block in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `block in with_pending_capture'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in `block in run_examples'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `map'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in `run_examples'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `block in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `map'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:231:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
     # /home/nono/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun'

Finished in 0.4278 seconds
7 examples, 4 failures
rake aborted!
ruby -S rspec --backtrace "spec/validator_spec.rb" "spec/validate_website_spec.rb" failed

(See full trace by running task with --trace)
spk commented 14 years ago

fixed by c48368f2c6e00aa3c8088d0637a7f1ab1620dc28 thanks