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.how to this.thanks 提前
我正在使用旧版本的 rails 并通过此命令 script/spec spec/ 运行
您应该能够puts在您的规范中进行调用。没有理由这不起作用
puts