I just updated Ruby 1.9.1 and almost all of my rspec are broken, giving me "I can’t modify the frozen object." Even the rspec sample code from the rspec_controller generator fails.
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
Can anyone help?
source
share