Rspec-rails question

I have this controller test: http://pastie.org/632880 And the show
method has not been written for the HomeController yet. However, the
test still passes. Why?

Excellent, that did the trick. Thanks Dave!

Glad to hear it. Please let me know how the 1.2.9.rc1 gems are working
otherwise for you. I’ve gotten zero feedback, positive or negative, on
these release candidate gems and I’d like to do the release sometime
this week.

Cheers,
David

On Sun, Sep 27, 2009 at 11:36 PM, Brian C.

On Sun, Sep 27, 2009 at 9:10 PM, Brian C.
[email protected] wrote:

I have this controller test: http://pastie.org/632880 And the show
method has not been written for the HomeController yet. However, the
test still passes. Why?

Hey Brian,

This is due to a bug that has already been fixed:

https://rspec.lighthouseapp.com/projects/5645/tickets/888

It is fixed in the 1.2.9.rc1 gems, so if you grab those you should be
good:

[sudo] gem install rspec-rails --prerelease

Cheers,
David

Hey Dave,

Sorry I didn’t see your last post here until now. I’ve been using
1.2.9.rc1 for over a month now and it is working great. I haven’t
noticed any quirks.

  • Brian

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs