Rspec 3.5ã«ã¤ãã¦ã®è¨è¼ã¨ãªãã¾ãã documentã«allow-any-instance-of/expect-any-instance-ofã¯ä½¿ããªãæ¹ãããã¨æ¸ããã¦ãã¾ãã This feature is sometimes useful when working with legacy code, though in general we discourage its use for a number of reasons: The rspec-mocks API is designed for individual object instances, but this feature operates on entire classes of objects. As a result there are some semantically confusing edge
{{#tags}}- {{label}}
{{/tags}}