ブラウザでテキストをはっきりと見ることができます。
characters should be "R", "P", or "B".
しかし、ステップをキュウリステップと書くとき
Then I should see "characters should be \"R\", \"P\", or \"B\"."
それは言う
Undefined step: "I should see "characters should be \"R\", \"P\", or \"B\"."" (Cucumber::Undefined)
そして、ステップを次のように定義すると言います
Then /^I should see "([^"]*)"R\\"([^"]*)"P\\"([^"]*)"B\\"([^"]*)"$/ do |arg1, arg2, arg3, arg4|
pending # express the regexp above with the code you wish you had
end
きゅうりがこのステップを認識しないのはなぜですか?
それとも、引用符内の引用符のエスケープの問題ですか?
ありがとう