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.
我对旧版本的rspec不熟悉,现在我必须使用rspec 1.3.2
我有为最新的 rspec (~> 2.11) 构建的结构,它不适用于旧的:
MyClass.any_instance.should_receive(:my_method).with do |id, email, row| ... row.should be ... end
旧 rspec 版本的等效结构是什么?