Re: [rspec-users] render_template on create and update action - unexpected result with namespaced controllers

2011-12-22 Thread Justin Ko
On Dec 12, 2011, at 10:16 AM, astjohn wrote: > All, > > I've been having issues with my namespaced controllers and specs. I > receive the following errors only on my create and update actions > (with invalid parameters) and only on my namespaced controllers. My > non-namespaced controllers hav

Re: [rspec-users] Sending rails errors to rspec output

2011-12-22 Thread LeeQ
Puts does work. That's not what I'm looking for. I want all error messages (like `undefined local variable or method `junk' for...` ) to show up in my rspec out put in *the same way as* `puts`. ___ rspec-users mailing list rspec-users@rubyforge.org htt

Re: [rspec-users] Sending rails errors to rspec output

2011-12-22 Thread Justin Ko
On Dec 22, 2011, at 8:25 AM, LeeQ wrote: > Puts does work. That's not what I'm looking for. > > I want all error messages (like `undefined local variable or method `junk' > for...` ) to show up in my rspec out put in the same way as `puts`. > ___ > r

Re: [rspec-users] Sending rails errors to rspec output

2011-12-22 Thread LeeQ
Ah, I see what you are saying. But no, I still want the exception to act like an exception. My problem is that I'll have a test fail for reasons unknown, and I then I need to open the test logs to find the exception. I'd like those exceptions to show up in my test output so I don't have to d

Re: [rspec-users] Sending rails errors to rspec output

2011-12-22 Thread Justin Ko
On Dec 22, 2011, at 11:33 AM, LeeQ wrote: > Ah, I see what you are saying. But no, I still want the exception to act > like an exception. My problem is that I'll have a test fail for reasons > unknown, and I then I need to open the test logs to find the exception. I'd > like those exception

Re: [rspec-users] Advice on using Rspec as a data validation engine

2011-12-22 Thread Pat Maddox
On Dec 13, 2011, at 9:32 PM, Bill Christian wrote: > I have a project that collects various application configurations across a > couple thousand servers and wants to validate settings are following > recommended values. For example, all weblogic servers should have a minimum > memory heap siz

Re: [rspec-users] Sending rails errors to rspec output

2011-12-22 Thread Pat Maddox
On Dec 22, 2011, at 12:33 PM, LeeQ wrote: > Ah, I see what you are saying. But no, I still want the exception to act > like an exception. My problem is that I'll have a test fail for reasons > unknown, and I then I need to open the test logs to find the exception. I'd > like those exception