在使用RubyTest的SublimeText中我得到了
以0.24053秒完成6个示例,0个失败
随机种子6928
[以6.4秒完成]
但是在虚拟机中(在带有exec rspec的控制台中)速度为
在0.50997秒内完成 6个示例,0个失败
用种子4758随机化
这是正常的吗?
改变后"run_rspec_command": "bundle exec rspec {relative_path} --drb"
我得到了
No DRb server is running. Running in local process instead ...
Finished in 0.21903 seconds
6 examples, 0 failures
Randomized with seed 12822
[Finished in 6.9s]
答案 0 :(得分:0)
浏览至 - Sublime:偏好设置 - >包装设置 - > RubyTest - >设置 - 默认。
在该文件中,更改
"run_rspec_command": "rspec {relative_path}"
到
"run_rspec_command": "bundle exec rspec {relative_path} --drb"
现在尝试执行它。