Started GET "/signup" for 127.0.0.1 at 2013-12-03 12:36:30 -0800
Processing by UsersController#new as HTML
Rendered layouts/_shim.html.erb (0.0ms)
Rendered layouts/_header.html.erb (0.5ms)
Rendered layouts/_footer.html.erb (0.3ms)
Completed 200 OK in 7ms (Views: 7.4ms | ActiveRecord: 0.0ms)
(0.1ms) rollback transaction
.
和简单的测试:
(0.4ms) begin transaction
(0.1ms) rollback transaction
. (0.0ms) begin transaction
(0.0ms) rollback transaction
. (0.0ms) begin transaction
(0.0ms) rollback transaction
只是想找到一种让测试输出更简洁的方法,这样我就可以看到.... F ..格式,包含任何错误/失败。谢谢!
答案 0 :(得分:2)
你碰巧安装了宝石rails_12factor
吗?它经常与Heroku上的部署一起使用。
如果是这样,那么我想你的Gemfile中的相应条目如下:
gem 'rails_12factor'
只需将其更改为以下内容,运行rspec
时附加输出将消失:
gem 'rails_12factor', group: :production