使用Puffing Billy instructions for rspec with capybara我创建了一个简单的测试使用:poltergeist_billy驾驶员造成错误末梢的请求: ArgumentError:
rack-test requires a rack application, but none was given
# /home/resrev/.rv
我的页面上有两个字段集。他们没有任何身份证件或班级。 现在我想填充第二个字段集中的特定字段。 目前,我一个做这样的事情这是不工作: within_fieldset('fieldset') do
fill_in 'app_answers_attributes_0_answer', with: 'My First Answer'
end
click_on 'Submit'
而且它给错
您好我有错误,我capybara测试ENV unknown error: jQuery is not defined
(Session info: chrome=43.0.2357.125)
我认为这是关系到AJAX等待功能 def wait_for_ajax
Timeout.timeout(Capybara.default_wait_time) do
ele