Rails 2.3.2 Cucumber

Witajcie,

Mam projekt w Rails 2.3.2 (tego nie przeskocze, szefostwo…)

Jesli testuje poprzez “cucumber features” dostaje (miedzy innymi)

NativeException: java.lang.RuntimeException: org.apache.http.NoHttpResponseException: The target server failed to respond (Culerity::CulerityException) com/gargoylesoftware/htmlunit/WebClient.java:2114:in `download' com/gargoylesoftware/htmlunit/html/HtmlAnchor.java:126:in `doClickAction' com/gargoylesoftware/htmlunit/html/HtmlAnchor.java:141:in `doClickAction' com/gargoylesoftware/htmlunit/html/HtmlElement.java:1244:in `click' com/gargoylesoftware/htmlunit/html/HtmlElement.java:1195:in `click' com/gargoylesoftware/htmlunit/html/HtmlElement.java:1158:in `click' ./features/step_definitions/web_steps.rb:95:in `__instance_exec0' ./features/step_definitions/web_steps.rb:45:in `with_scope' ./features/step_definitions/web_steps.rb:94:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/' features/time_sheet_admin.feature:17:in `When I follow "TB Verwaltung"'
Po drodze dostaje takie kwiatki jak:

[quote]WARNUNG: Invalid cookie header: “Set-Cookie: lang=en; path=/; expires=Mo, 28-Mär-2011 08:25:39 GMT”. Unable to parse expires attribute: Mo, 28-Mär-2011 08:25:39 GMT
.28.02.2011 10:25:40 org.apache.http.client.protocol.ResponseProcessCookies processCookies

INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request: The target server failed to respond
28.02.2011 10:25:35 org.apache.http.impl.client.DefaultRequestDirector tryExecute
INFO: Retrying request[/quote]
Jesli testuje poprzez “cucumber features/time_sheet_admin.feature:17”, dostaje:

[code]Using the default profile…
/home/wopi/work/intranet/config/…/vendor/rails/railties/lib/rails/gem_dependency.rb:99:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
/home/wopi/work/intranet/spec/factories/lucky_sapper_factory.rb:52: warning: Object#type is deprecated; use Object#class
/home/wopi/.rvm/gems/ruby-1.8.6-p114@intranet/gems/mime-types-1.16/lib/mime/types.rb:38: warning: already initialized constant VERSION
/home/wopi/.rvm/gems/ruby-1.8.6-p114@intranet/gems/mime-types-1.16/lib/mime/types.rb:42: warning: already initialized constant MEDIA_TYPE_RE
/home/wopi/.rvm/gems/ruby-1.8.6-p114@intranet/gems/mime-types-1.16/lib/mime/types.rb:43: warning: already initialized constant UNREG_RE
/home/wopi/.rvm/gems/ruby-1.8.6-p114@intranet/gems/mime-types-1.16/lib/mime/types.rb:44: warning: already initialized constant ENCODING_RE
/home/wopi/.rvm/gems/ruby-1.8.6-p114@intranet/gems/mime-types-1.16/lib/mime/types.rb:45: warning: already initialized constant PLATFORM_RE
/home/wopi/.rvm/gems/ruby-1.8.6-p114@intranet/gems/mime-types-1.16/lib/mime/types.rb:50: warning: already initialized constant SIGNATURES
/home/wopi/.rvm/gems/ruby-1.8.6-p114@intranet/gems/mime-types-1.16/lib/mime/types.rb:52: warning: already initialized constant IANA_URL
/home/wopi/.rvm/gems/ruby-1.8.6-p114@intranet/gems/mime-types-1.16/lib/mime/types.rb:53: warning: already initialized constant RFC_URL
/home/wopi/.rvm/gems/ruby-1.8.6-p114@intranet/gems/mime-types-1.16/lib/mime/types.rb:54: warning: already initialized constant DRAFT_URL
/home/wopi/.rvm/gems/ruby-1.8.6-p114@intranet/gems/mime-types-1.16/lib/mime/types.rb:55: warning: already initialized constant LTSW_URL
/home/wopi/.rvm/gems/ruby-1.8.6-p114@intranet/gems/mime-types-1.16/lib/mime/types.rb:56: warning: already initialized constant CONTACT_URL
/home/wopi/.rvm/gems/ruby-1.8.6-p114@intranet/gems/mime-types-1.16/lib/mime/types.rb:591: warning: already initialized constant VERSION

0 scenarios
11 steps (11 passed)
0m10.028s[/code]
Heeeelp :slight_smile:

Pozdrowienia