[rspec-users] rSpec on Rails 1.2?
Marcus Roberts
marcus at marcusr.org.uk
Fri Nov 24 02:53:08 EST 2006
This blog seems to have quite a bit of information about running with
edge Rails:
http://blog.methodmissing.com/2006/11/23/using-simply_helpful-with-
rspec-controller-tests
which I've found useful.
I'm running rspec 0.7.3 and the trunk of the rails plugin and most of
my controller specs pass, but I still get
undefined method `render?' for #<ActionController::TestResponse:
0x28886c4>
errors for specs such as
specify "should render show.rhtml" do
response.should_render :show
end
Marcus
On 24 Nov 2006, at 07:11, s.ross wrote:
> I just updated my Rails install to the most current Edge and my
> controller specs fail:
>
> 1)
> TypeError in 'The User Controller should be a user controller'
> can't convert nil into String
>
> Each spec fails the same way.
>
> <context string> <spec string>
> can't convert nil into String
>
> Any ideas what's up with this?
>
> Thanks,
>
> s.ross
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
More information about the rspec-users
mailing list