Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在翻新一些旧测试,它们似乎是 Test::Unit with Shoulda。有些部分有语法expect {block},但我在当前的 Shoulda 代码中找不到任何期望的引用。 expect出现在班级级别,在那里我看到其他setup或should陈述。
expect {block}
expect
setup
should