0
Pickle似乎並沒有被加載對我來說,當我使用spork ...使用泡菜醬?
如果我跑我的黃瓜正常,步驟按預期工作:
➜ bundle exec cucumber
And a product exists with name: "Windex", category: "Household Cleaners", description: "nasty bluish stuff" # features/step_definitions/pickle_steps.rb:4
但是,如果我運行通過叉勺,我得到一個未定義步:
您可以實現與這些片段未定義步驟的步驟定義:
Given /^a product exists with name: "([^"]*)", category: "([^"]*)", description: "([^"]*)"$/ do |arg1, arg2, arg3|
pending # express the regexp above with the code you wish you had
end
什麼給了?