【发布时间】:2012-11-06 14:49:24
【问题描述】:
测试一个 Ruby on Rails 应用程序,我有工作测试(也是作为登录用户),但是只要我把“:js=>true”选项放在测试后面
it "does", :js => true do
activate_authlogic
visit '/'
end
返回带有内部错误的网页
You must activate the Authlogic::Session::Base.controller with a controller object before creating objects
我怎样才能让它工作?如何更准确地确定错误?
【问题讨论】:
标签: ruby selenium rspec capybara authlogic