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