感謝您的迴應。
我得到錯誤的應用Git application with the error水豚NoMethodError:undefined方法`訪問'爲
Failures:
1) Page pages page creation with invalid information should not create a page
Failure/Error: before(:each) { visit new_admin_page_path }
NoMethodError:
undefined method `visit' for #<Page:0x00000005094bb0>
# ./spec/requests/page_request_spec.rb:13:in `block (3 levels) in <top (required)>'
2) Page pages page creation with invalid information error messages
Failure/Error: before(:each) { visit new_admin_page_path }
NoMethodError:
undefined method `visit' for #<Page:0x000000051671f0>
# ./spec/requests/page_request_spec.rb:13:in `block (3 levels) in <top (required)>'
Finished in 1.21 seconds
14 examples, 2 failures
我已經錯過了?
你可以發佈你的規範代碼? –
https://github.com/itsNikolay/error/blob/master/spec/requests/page_request_spec.rb(所有文件都在github回購) – itsnikolay
我發現你的問題(見下文),但你會遇到其他問題你修復它。 –