[rspec-users] Just upgraded to 1.0.0, should render_text isn't working for me
pergesu at gmail.com
Mon May 21 02:31:31 EDT 2007
I finally got around to upgrading from 0.8.2 (!!). I had a spec which
specify "should render abc123" do
controller.should_render :text => "abc123"
With 1.0.0, the new spec is
it "should render abc123" do
However it doesn't work, giving me the error:
undefined method `render_text' for #<#<Class:0x32ebdac>:0x381a454>
I installed the 1.0.0 rails plugin, and ran script/generate rspec
again. Any ideas as to what's wrong?
More information about the rspec-users