我有一个场景步骤
When I fill in the following:
| Credit Card Number | 4111111111111111 |
| CCV Value | 123 |
| First name | First |
| Last name | Last |
| Address | 123 My St. |
| City | My City |
此步骤与Timeout :: Error
不一致失败(::) failed steps (::)
execution expired (Timeout::Error)
/usr/local/lib/ruby/1.8/timeout.rb:60:in `rbuf_fill'
/usr/local/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'
/usr/local/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
/usr/local/lib/ruby/1.8/net/protocol.rb:126:in `readline'
/usr/local/lib/ruby/1.8/net/http.rb:2020:in `read_status_line'
/usr/local/lib/ruby/1.8/net/http.rb:2009:in `read_new'
/usr/local/lib/ruby/1.8/net/http.rb:1050:in `request_without_fakeweb'
/usr/local/lib/ruby/1.8/net/http.rb:1037:in `request_without_fakeweb'
/usr/local/lib/ruby/1.8/net/http.rb:543:in `start'
/usr/local/lib/ruby/1.8/net/http.rb:1035:in `request_without_fakeweb'
./features/step_definitions/web_steps.rb:41
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:40:in `/^(?:|I )fill in "([^"]*)" with "([^"]*)"(?: within "([^"]*)")?$/'
甚至更奇怪的是,当填充不同的领域时,步骤失败了。任何指针都会非常感激..
答案 0 :(得分:0)
看起来这个问题与Fakeweb gem有关..我删除了那个宝石,现在它似乎正在工作..