我跑水豚,我不斷收到此錯誤波紋管Twitter的引導提示和水豚
✔ When I visit the agreement templates page
! And I follow "New Agreement Template"
~ And I fill out and submit the form
~ Then I should see the new agreement template
~ And I should be on the agreement template
no link with title, id or text 'New Agreement Template' found
在頁面提示已經改變了「標題」到「數據原標題」所以測試可以」找到「新協議模板」。
我想我的測試從
click_link('New Agreement Template')
改變
find('#new-agreement').click_link('New Agreement Template')
添加新協議中的ID,但我仍然有同樣的問題
find('#new-agreement')。click do the trick。謝謝。現在我必須爲所有創建鏈接添加一個ID – Marrento 2013-04-30 20:49:01