Avdi Grimm wrote: > Ed Howland wrote: >> Avdi, >> >> This sounds like a cool idea. One question. Would the usage pattern >> then be to use a mock/stub for the find methods and let the other save >> methods fall though to the NullDB connector? > > Yes, that's accurate. Check the documentation for the latest revision, > too; there are some new RSpec helpers. > > -- > Avdi
Do you have any advice on how to setup NullDB in a JRuby environment? I'm using JRuby 1.5.1, Test::Unit, Shoulda, and will be using Factory_Girl for functional and integration tests. I'm fairly new to unit testing so as much step by step as you can give would be great! Cheers, Eric -- Posted via http://www.ruby-forum.com/. -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.