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.
为什么这个测试在必须通过时返回“TypeError:nil 不是符号”?它来自一本书。
describe "The string" do it "should have 11 simbols" do "this string".should have(11) end end
这是书中的一个错误。该行应该是:
"this string".should have(11).symbols