sporkを使用しているときにPickleがロードされていないようです...
キュウリを正常に実行すると、ステップは期待どおりに機能します。
➜ bundle exec cucumber
And a product exists with name: "Windex", category: "Household Cleaners", description: "nasty bluish stuff" # features/step_definitions/pickle_steps.rb:4
しかし、spork で実行すると、未定義のステップが発生します。
次のスニペットを使用して、未定義のステップのステップ定義を実装できます。
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
何を与える?