0
Then the director of "Alien" should be "Ridley Scott"
我的黃瓜功能之一了一步,我創造了我的步驟定義如下
Then /^the director of "([^"]*)" should be "([^"]*)"$/ do |arg1, arg2|
Movie.find_by_title(arg1) == Movie.find_by_director(arg2)
end
其中通過但我不相信這是真的。有關實現正確功能的任何建議?
正是我以後,謝謝! – Anconia