我正在进行几项测试,每次运行时都会收到以下警告:
DEPRECATION WARNING: you are using a deprecated constant that will
be removed from a future version of RSpec.
C:/Sites/injixo/spec/views/me_home_spec.rb:1in 'require'
*Rspec is deprecated
*Rspec is the new top-level module in RSpec-2
我已经安装了最新版本2.6.1的RSpec,所以我不确定为什么会出现这个警告。有人能解释一下这个问题以及如何去除它吗?
谢谢 JP