Wednesday, December 22, 2010

[Rails] Re: Shoulda issue: no more "should have_instance_methods" ?

Great, thanks!

So in summary:

1) Use rspec and shoulda together, as the Thoughtbot team (which
created shoulda) is saying they are using rspec
2) To test acts_as_list, test the behavior of it (or test the
inclusion of that one module in the appropriate class)

I don't know what "that one module is" or how to test its inclusion in
a class though... but otherwise thanks guys!

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate