Re: [rspec-users] Newbie : how to require to lib from spec under autotest?

2008-04-04 Thread Scott Taylor
On Apr 5, 2008, at 12:38 AM, David Chelimsky wrote: On Apr 5, 2008, at 12:28 AM, "Peter Fitzgibbons" <[EMAIL PROTECTED] > wrote: Hello all, I have the RSpec sample in ./rspec_bowling, with... ./rspec_bowling/lib/bowling.rb ./rspec_bowling/spec/spec.opts ./rspec_bowling/spec/bowling_spec.rb

Re: [rspec-users] webrat bugs

2008-04-04 Thread Scott Taylor
On Apr 4, 2008, at 6:18 PM, Joe Van Dyk wrote: > Where do I report webrat bugs? > > Seems that when there's a parenthesis in the link text, doing: > > session.clicks_link("link with (parens)") > > fails to find the link text. I believe (with my limited experience with webrat) that this is occu

Re: [rspec-users] laziness plugin

2008-04-04 Thread s.ross
On Apr 4, 2008, at 8:45 PM, Will Sargent wrote: > Just for general entertainment, apparently you can get Rails to write > your unit tests now: > > "Laziness isn't just helpful in development mode, though - it also > comes into play in production. If you've installed the > exception_notification pl

Re: [rspec-users] Newbie : how to require to lib from spec under autotest?

2008-04-04 Thread David Chelimsky
On Apr 5, 2008, at 12:28 AM, "Peter Fitzgibbons" <[EMAIL PROTECTED] > wrote: Hello all, I have the RSpec sample in ./rspec_bowling, with... ./rspec_bowling/lib/bowling.rb ./rspec_bowling/spec/spec.opts ./rspec_bowling/spec/bowling_spec.rb when I autotest, I get this: $autotest loading autotes

[rspec-users] Newbie : how to require to lib from spec under autotest?

2008-04-04 Thread Peter Fitzgibbons
Hello all, I have the RSpec sample in ./rspec_bowling, with... ./rspec_bowling/lib/bowling.rb ./rspec_bowling/spec/spec.opts ./rspec_bowling/spec/bowling_spec.rb when I autotest, I get this: $autotest loading autotest/rspec /usr/local/bin/ruby -S /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.3/bin/

[rspec-users] laziness plugin

2008-04-04 Thread Will Sargent
Just for general entertainment, apparently you can get Rails to write your unit tests now: "Laziness isn't just helpful in development mode, though - it also comes into play in production. If you've installed the exception_notification plugin (and you really should have - if not, go ahead; I'll wa

Re: [rspec-users] changes to RSpec Bundle

2008-04-04 Thread Tim Harper
Created: http://rspec.lighthouseapp.com/projects/5645/tickets/365-feature-rspec-bundle-update-rspec-bundle Thanks everyone! Tim On Fri, Apr 4, 2008 at 6:05 PM, Pat Maddox <[EMAIL PROTECTED]> wrote: > On Fri, Apr 4, 2008 at 4:54 PM, Ben Mabey <[EMAIL PROTECTED]> wrote: > > > > Tim Harper wrote

Re: [rspec-users] Command line story runner

2008-04-04 Thread Kyle Hargraves
On Fri, Apr 4, 2008 at 7:02 AM, Kamal Fariz <[EMAIL PROTECTED]> wrote: > Hi Kyle, > > I tried the story runner against a story. Unfortunately, it had > problems executing webrat methods like 'visits'. > > Kindly check out this pastie: http://pastie.org/175204 > > I tried running it with the nor

Re: [rspec-users] Command line story runner

2008-04-04 Thread Kyle Hargraves
On Fri, Apr 4, 2008 at 5:21 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: > On Thu, Apr 3, 2008 at 7:58 AM, Kyle Hargraves <[EMAIL PROTECTED]> wrote: > > Hullo all, > > > > It sucks to write wrapper .rb files just so stories/all.rb can find > > and run them. > > Here's what my stories/all.rb lo

Re: [rspec-users] changes to RSpec Bundle

2008-04-04 Thread Pat Maddox
On Fri, Apr 4, 2008 at 4:54 PM, Ben Mabey <[EMAIL PROTECTED]> wrote: > > Tim Harper wrote: > > Hi, > > > > I forked the rspec bundle on github and added a new command to it (an > > Update RSpec Bundle command). I sent a pull request, but haven't > > heard back from anyone on it. > > > > Dav

Re: [rspec-users] changes to RSpec Bundle

2008-04-04 Thread Ben Mabey
Tim Harper wrote: > Hi, > > I forked the rspec bundle on github and added a new command to it (an > Update RSpec Bundle command). I sent a pull request, but haven't > heard back from anyone on it. > > David, did you get my pull request? Or did it get lost in the black > whole of cyberspace?

Re: [rspec-users] changes to RSpec Bundle

2008-04-04 Thread Pat Maddox
On Fri, Apr 4, 2008 at 3:48 PM, Tim Harper <[EMAIL PROTECTED]> wrote: > Hi, > > I forked the rspec bundle on github and added a new command to it (an > Update RSpec Bundle command). I sent a pull request, but haven't > heard back from anyone on it. > > David, did you get my pull request? Or d

Re: [rspec-users] Attachment-fu + Story Runner

2008-04-04 Thread Joe Van Dyk
On Fri, Apr 4, 2008 at 4:10 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: > On Fri, Mar 21, 2008 at 5:46 AM, David Chelimsky <[EMAIL PROTECTED]> wrote: > > > > On Fri, Mar 21, 2008 at 1:35 AM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: > > > On Thu, Mar 20, 2008 at 3:34 AM, Rick DeNatale <[EMAIL PROTE

Re: [rspec-users] webrat bugs

2008-04-04 Thread Ben Mabey
Joe Van Dyk wrote: > Where do I report webrat bugs? > > Seems that when there's a parenthesis in the link text, doing: > > session.clicks_link("link with (parens)") > > fails to find the link text. > ___ > rspec-users mailing list > rspec-users@rubyforge.

Re: [rspec-users] Attachment-fu + Story Runner

2008-04-04 Thread Joe Van Dyk
On Fri, Mar 21, 2008 at 5:46 AM, David Chelimsky <[EMAIL PROTECTED]> wrote: > > On Fri, Mar 21, 2008 at 1:35 AM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: > > On Thu, Mar 20, 2008 at 3:34 AM, Rick DeNatale <[EMAIL PROTECTED]> wrote: > > > On 3/20/08, Joe Van Dyk <[EMAIL PROTECTED]> wrote: > > >

[rspec-users] changes to RSpec Bundle

2008-04-04 Thread Tim Harper
Hi, I forked the rspec bundle on github and added a new command to it (an Update RSpec Bundle command). I sent a pull request, but haven't heard back from anyone on it. David, did you get my pull request? Or did it get lost in the black whole of cyberspace? (if you were too busy to respon

[rspec-users] webrat bugs

2008-04-04 Thread Joe Van Dyk
Where do I report webrat bugs? Seems that when there's a parenthesis in the link text, doing: session.clicks_link("link with (parens)") fails to find the link text. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/lis

Re: [rspec-users] Command line story runner

2008-04-04 Thread Joe Van Dyk
On Thu, Apr 3, 2008 at 7:58 AM, Kyle Hargraves <[EMAIL PROTECTED]> wrote: > Hullo all, > > It sucks to write wrapper .rb files just so stories/all.rb can find > and run them. Here's what my stories/all.rb looks like: require File.dirname(__FILE__) + '/helper' Dir[File.dirname(__FILE__) + '/../s

Re: [rspec-users] Welcome Pat Maddox

2008-04-04 Thread Andrew WC Brown
Gooble Goble, Gooble Goble, One of Us! One of Us! On Fri, Apr 4, 2008 at 2:42 PM, Brian Takita <[EMAIL PROTECTED]> wrote: > On Fri, Apr 4, 2008 at 10:26 AM, aslak hellesoy > <[EMAIL PROTECTED]> wrote: > > On 4/4/08, Luis Lavena <[EMAIL PROTECTED]> wrote: > > > On Fri, Apr 4, 2008 at 11:35 AM, Pa

Re: [rspec-users] Welcome Pat Maddox

2008-04-04 Thread Pat Maddox
On Fri, Apr 4, 2008 at 10:26 AM, aslak hellesoy <[EMAIL PROTECTED]> wrote: > On 4/4/08, Luis Lavena <[EMAIL PROTECTED]> wrote: > > On Fri, Apr 4, 2008 at 11:35 AM, Patrick Meunier > > <[EMAIL PROTECTED]> wrote: > > > This is a great news! Congratulations Pat. > > > > > > > +1 on that, The bdd

Re: [rspec-users] Welcome Pat Maddox

2008-04-04 Thread Brian Takita
On Fri, Apr 4, 2008 at 10:26 AM, aslak hellesoy <[EMAIL PROTECTED]> wrote: > On 4/4/08, Luis Lavena <[EMAIL PROTECTED]> wrote: > > On Fri, Apr 4, 2008 at 11:35 AM, Patrick Meunier > > <[EMAIL PROTECTED]> wrote: > > > This is a great news! Congratulations Pat. > > > > > > > +1 on that, The bdd

Re: [rspec-users] Welcome Pat Maddox

2008-04-04 Thread aslak hellesoy
On 4/4/08, Luis Lavena <[EMAIL PROTECTED]> wrote: > On Fri, Apr 4, 2008 at 11:35 AM, Patrick Meunier > <[EMAIL PROTECTED]> wrote: > > This is a great news! Congratulations Pat. > > > > +1 on that, The bdd-force within Pat is strong, and is good to see he > is joining the good side of the force :-)

Re: [rspec-users] Welcome Pat Maddox

2008-04-04 Thread Luis Lavena
On Fri, Apr 4, 2008 at 11:35 AM, Patrick Meunier <[EMAIL PROTECTED]> wrote: > This is a great news! Congratulations Pat. > +1 on that, The bdd-force within Pat is strong, and is good to see he is joining the good side of the force :-) -- Luis Lavena Multimedia systems - Human beings, who are alm

Re: [rspec-users] Welcome Pat Maddox

2008-04-04 Thread Patrick Meunier
This is a great news! Congratulations Pat. On 4-Apr-08, at 9:23 AM, David Chelimsky wrote: > Hi all, > > I'm pleased to announce that Pat Maddox is joining the RSpec > Development Team. > > As you may already know, Pat has been contributing great patches and > participation on the rspec-users an

Re: [rspec-users] [rspec-devel] Welcome Pat Maddox

2008-04-04 Thread Bryan Ray
Congratulations, man. On Fri, Apr 4, 2008 at 8:23 AM, David Chelimsky <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm pleased to announce that Pat Maddox is joining the RSpec Development > Team. > > As you may already know, Pat has been contributing great patches and > participation on the rspec-use

[rspec-users] Welcome Pat Maddox

2008-04-04 Thread David Chelimsky
Hi all, I'm pleased to announce that Pat Maddox is joining the RSpec Development Team. As you may already know, Pat has been contributing great patches and participation on the rspec-users and rspec-devel mailing lists for quite some time. He has demonstrated a deep understanding of BDD in genera

Re: [rspec-users] Command line story runner

2008-04-04 Thread Kamal Fariz
Hi Kyle, I tried the story runner against a story. Unfortunately, it had problems executing webrat methods like 'visits'. Kindly check out this pastie: http://pastie.org/175204 I tried running it with the normal ruby wrapper and it works fine. Regards, Kamal _

Re: [rspec-users] spec'ing validates_uniqueness_of :whatever

2008-04-04 Thread Rick DeNatale
On Fri, Apr 4, 2008 at 2:12 AM, Steven Baker <[EMAIL PROTECTED]> wrote: > >> If you were to write an example that creates two models, and ensures > >> that the duplicate errored appropriately, my "rule" is violated. > >> Each > >> of your examples is then specifying the behaviour of the > >> va