我刚刚更新到Ruby 1.9.1并几乎所有我的rspec都被打破了,给了我一个"无法修改冻结的对象".甚至来自生成rspec_controller的Rspec示例代码也会失败.
RuntimeError in 'DownloadsController should use DownloadsController'
can't modify frozen object
/usr/local/lib/ruby19/1.9.1/timeout.rb:44:in `timeout'
Generated by the following code:
it "should use DownloadsController" do
controller.should be_an_instance_of(DownloadsController)
end
Run Code Online (Sandbox Code Playgroud)
有人可以帮忙吗?