Re: [rspec-users] Private method in custom module

2009-12-31 Thread Phillip Koebbe
David, On Dec 31, 2:21 pm, David Chelimsky wrote: > Make sense? > Yes. Thanks for taking the time to explain! Peace, Phillip ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Private method in custom module

2009-12-31 Thread David Chelimsky
On Thu, Dec 31, 2009 at 2:05 PM, Phillip Koebbe wrote: > Hi David, > > First, thanks for the suggestion. I like that better. > > Second, my motivation for doing this was born out of not being able to > do something I wanted to do in Remarkable. However, as I was trying to > explain what it was I w

Re: [rspec-users] Private method in custom module

2009-12-31 Thread Phillip Koebbe
Hi David, First, thanks for the suggestion. I like that better. Second, my motivation for doing this was born out of not being able to do something I wanted to do in Remarkable. However, as I was trying to explain what it was I wanted to do, I just discovered how to do it in Remarkable. So, the i

Re: [rspec-users] Private method in custom module

2009-12-31 Thread David Chelimsky
On Thu, Dec 31, 2009 at 12:54 PM, Phillip Koebbe wrote: > I have a module of custom examples, such as > > module ControllerHelperMethods >module MyExampleGroupMethods >def should_set_the_body_id(body_id) >it "should set the body id to '#{body_id}'" d

[rspec-users] Private method in custom module

2009-12-31 Thread Phillip Koebbe
I have a module of custom examples, such as module ControllerHelperMethods module MyExampleGroupMethods def should_set_the_body_id(body_id) it "should set the body id to '#{body_id}'" do assigns[:body_id].should == bod