问题描述
||
这是Cucumber命令(可以与我测试过的其他表单一起使用):
And I press \"Save\"
这是错误消息:
No connection Could be made because the target machine actively refused it. - connect(2) (Errno::ECONNREFUSED)
C:/Ruby187/lib/ruby/1.8/net/http.rb:560:in `initialize\'
C:/Ruby187/lib/ruby/1.8/net/http.rb:560:in `open\'
C:/Ruby187/lib/ruby/1.8/net/http.rb:560:in `connect\'
C:/Ruby187/lib/ruby/1.8/timeout.rb:53:in `timeout\'
C:/Ruby187/lib/ruby/1.8/timeout.rb:101:in `timeout\'
C:/Ruby187/lib/ruby/1.8/net/http.rb:560:in `connect\'
C:/Ruby187/lib/ruby/1.8/net/http.rb:553:in `do_start\'
C:/Ruby187/lib/ruby/1.8/net/http.rb:542:in `start\'
C:/Ruby187/lib/ruby/1.8/net/http.rb:1035:in `request\'
C:/Ruby187/lib/ruby/1.8/net/http.rb:845:in `post\'
C:/Ruby187/lib/ruby/1.8/benchmark.rb:308:in `realtime\'
这是haml代码:
- semantic_form_for current_user,:html => { :multipart => true } do |f| .actionbuttonbar
%p.actionbutton
= f.submit \'Save\',{ :class => \"actionbutton\" }
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)