Re: [rspec-users] helper methods starting with should

2008-01-29 Thread David James
-1* I upgraded a Rails project from rspec 0.9 to 1.1.2 -- and this change caused me some pain. Luckily, I figured it out and confirmed it here on the list before things got too bad. :) * That said, I have to admit that I'm not super-pleased about my helper methods that start with should_ -- they

Re: [rspec-users] helper methods starting with should

2007-11-18 Thread aslak hellesoy
On Nov 18, 2007 4:59 PM, David Chelimsky [EMAIL PROTECTED] wrote: Hi all, As an experiment in playing nice with others, we've added the ability in rspec's trunk to do this: class ThingExamples Spec::ExampleGroup def should_do_stuff ... end end This is how rspec 0.1 worked,

Re: [rspec-users] helper methods starting with should

2007-11-18 Thread Dan North
+1 for keeping should prefix given the number of people who write helper methods starting with should (at last count, one person) versus the number of people who find it useful starting test methods with the word should in xunit testing frameworks (nearly everyone I know). Obviously my world is

Re: [rspec-users] helper methods starting with should

2007-11-18 Thread Nathan Sutton
0 Should be able to turn on or off. don't know if the first went through. Nathan Sutton [EMAIL PROTECTED] rspec edge revision 2894 rspec_on_rails edge revision 2894 rails edge revision 8146 On Nov 18, 2007, at 9:59 AM, David Chelimsky wrote: Hi all, As an experiment in playing nice with

Re: [rspec-users] helper methods starting with should

2007-11-18 Thread David Chelimsky
On Nov 18, 2007 10:29 AM, aslak hellesoy [EMAIL PROTECTED] wrote: On Nov 18, 2007 4:59 PM, David Chelimsky [EMAIL PROTECTED] wrote: Hi all, As an experiment in playing nice with others, we've added the ability in rspec's trunk to do this: class ThingExamples Spec::ExampleGroup

Re: [rspec-users] helper methods starting with should

2007-11-18 Thread Shane Mingins
On 19/11/2007, at 5:05 AM, Nathan Sutton wrote: 0 Keep it, but make it a configuration option with default-off. Nathan Sutton [EMAIL PROTECTED] rspec edge revision 2894 rspec_on_rails edge revision 2894 rails edge revision 8146 I agree. +1 configuration with default being current

Re: [rspec-users] helper methods starting with should

2007-11-18 Thread Glenn Ford
-1 I, as a new rspec user, did not find the switch between test_ and it blah do to be even a small challenge compared to other things I had to convert and learn. I only feel like it would be one more thing to keep up with that would cause problems. I can certainly see someone writing a