Phlip, Ah, but I am not unit testing ... I am writing an acceptance test. I am QA, not the developer and using cucumber to automate the functional and acceptance tests.
Brian -----Original Message----- From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-boun...@rubyforge.org] On Behalf Of Phlip Sent: Tuesday, April 14, 2009 8:22 PM To: rspec-users@rubyforge.org Subject: Re: [rspec-users] How to write a feature that calls for a prompt? Colfer, Brian wrote: > I am writing a feature that will test an LDAP protected site. I need > to login as my self with my real password. When unit testing, thou shalt not hit the wire. Mock anything that goes further than your database. Put another way, you are not going to refactor LDAP itself, or add features to it, so mocks should set the boundaries to what you do expect to refactor. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users