Re: [rspec-users] [rspec-devel] The RSpec Book

2008-12-19 Thread Daniel Area Criações
I am also super interested in this book Atenciosamente, Daniel Lopes  Area Criações Design, Websites e Sistemas Web Visite: http://www.areacriacoes.com.br/projects http://blog.areacriacoes.com.br/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 55 (31)

Re: [rspec-users] Problem when testing controllers

2008-12-12 Thread Daniel Area Criações
Thanks, now it's looks obivious. :D Atenciosamente, Daniel Lopes  Area Criações Design, Websites e Sistemas Web Visite: http://www.areacriacoes.com.br/projects http://blog.areacriacoes.com.br/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 55 (31) 307

Re: [rspec-users] problem to mock association proxy

2008-12-05 Thread Daniel Area Criações
/ 55 (31) 8808-8748 / 55 (31) 8737-7501 On Fri, Dec 5, 2008 at 6:41 PM, Ashley Moran <[EMAIL PROTECTED]>wrote: > > On 5 Dec 2008, at 20:26, Daniel Area Criações wrote: > > This line is only saying that @properties (assigned[:properties]) have >> some value ... is that

Re: [rspec-users] problem to mock association proxy

2008-12-05 Thread Daniel Area Criações
Thanks Ashley, now the tests passed... but I want understand one thing: This line is only saying that @properties (assigned[:properties]) have some value ... is that? assigns[:properties].should == :user_properties I can change above to assigns[:properties].should_not be_nill and the semantic valu

[rspec-users] proxy associantion on controllers

2008-12-05 Thread Daniel Area Criações
Hello, I'm trying learn Rspec but having problems to understand when and how user mocks and stubs. I have a properties_controller with to before_filter actions (check_administrator_role e load_user)... to access index action of properties_controller I need have a params[:user] and this parameter wi