Re: [rspec-users] [Rails] rails view helpers, BDD, and what to mock

2010-09-18 Thread Myron Marston
On Sep 18, 11:52 am, "Doug E." wrote: > On Sep 17, 9:16 pm, Myron Marston wrote: > > > > > > > On Sep 17, 12:48 pm, "Doug E." wrote: > > > > Hi, > > > > I'm trying to understand BDD and proper testing technique. I'm testing > > > a rails view helper method that checks user roles to see if a li

Re: [rspec-users] [Rails] rails view helpers, BDD, and what to mock

2010-09-18 Thread Doug E.
On Sep 17, 9:16 pm, Myron Marston wrote: > On Sep 17, 12:48 pm, "Doug E." wrote: > > > > > > > Hi, > > > I'm trying to understand BDD and proper testing technique. I'm testing > > a rails view helper method that checks user roles to see if a link > > should be shown. I'm using rails 2.3.8 and rs

Re: [rspec-users] Testing forms

2010-09-18 Thread David Chelimsky
On Sep 18, 2010, at 7:01 AM, Brennon Bortz wrote: > I'm testing a view that renders a form to edit an object. I'd like to test > that the form correctly populates the form with the object's attributes' > current values. I tried several variations on mock_model and stub_model in > order to mai

Re: [rspec-users] Autotest will run features, but not specs

2010-09-18 Thread David Chelimsky
On Sep 18, 2010, at 5:51 AM, Brennon Bortz wrote: > On 18 Sep 2010, at 11:20, Brennon Bortz wrote: > >> On 17 Sep 2010, at 20:11, David Chelimsky wrote: >> >>> On Sep 17, 2010, at 1:23 PM, Brennon Bortz wrote: >>> On 14 Sep 2010, at 22:41, Brennon Bortz wrote: > On 27 Aug 2010,

Re: [rspec-users] is it Mailing list on github for oauth on twitter

2010-09-18 Thread David Chelimsky
On Sep 18, 2010, at 5:33 AM, babar shahzad wrote: > > Helo dear list members, > > Can you kindly confirm me that its the correct list I subscribed to. I want > help in twitter oauth. I am using abraham williams' library. If something > wrong, I will be very thankful if you could write me link

[rspec-users] Testing forms

2010-09-18 Thread Brennon Bortz
I'm testing a view that renders a form to edit an object. I'd like to test that the form correctly populates the form with the object's attributes' current values. I tried several variations on mock_model and stub_model in order to maintain view/model separation--for instance: require "spec_h

Re: [rspec-users] Autotest will run features, but not specs

2010-09-18 Thread Brennon Bortz
On 18 Sep 2010, at 11:20, Brennon Bortz wrote: > On 17 Sep 2010, at 20:11, David Chelimsky wrote: > >> On Sep 17, 2010, at 1:23 PM, Brennon Bortz wrote: >> >>> On 14 Sep 2010, at 22:41, Brennon Bortz wrote: >>> On 27 Aug 2010, at 15:20, David Chelimsky wrote: > > On Aug 27,

[rspec-users] is it Mailing list on github for oauth on twitter

2010-09-18 Thread babar shahzad
Helo dear list members, Can you kindly confirm me that its the correct list I subscribed to. I want help in twitter oauth. I am using abraham williams' library. If something wrong, I will be very thankful if you could write me link of correct list. thanks a lot & sorry for bothering. - Babar

Re: [rspec-users] Autotest will run features, but not specs

2010-09-18 Thread Brennon Bortz
On 17 Sep 2010, at 20:11, David Chelimsky wrote: > On Sep 17, 2010, at 1:23 PM, Brennon Bortz wrote: > >> On 14 Sep 2010, at 22:41, Brennon Bortz wrote: >> >>> On 27 Aug 2010, at 15:20, David Chelimsky wrote: >>> On Aug 27, 2010, at 8:48 AM, Brennon Bortz wrote: > On 27 Au