Re: [rspec-users] Role of stories vs specs

2007-11-18 Thread David Chelimsky
On Nov 14, 2007 5:50 PM, Pat Maddox <[EMAIL PROTECTED]> wrote: > On Nov 13, 2007 4:00 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > > On Nov 13, 2007 5:17 PM, Pat Maddox <[EMAIL PROTECTED]> wrote: > > > Let's say in some banking software we have a transfer screen, and > > > there are three possi

Re: [rspec-users] Using RSpec to drive the design of a GUI desktop application

2007-11-18 Thread Eloy Duran
Hey Mathijs, Someone pinged me that you were interested in BDD with RubyCocoa (RC), so I thought I'd just chip in. I write my RC apps in a BDD way and as such support for it is included with Rucola. When we release 0.0.2 I will also release a screencast on how I use BDD with RC. But the bott

Re: [rspec-users] Using RSpec to drive the design of a GUI desktop application

2007-11-18 Thread David Chelimsky
On Nov 18, 2007 6:36 AM, Eloy Duran <[EMAIL PROTECTED]> wrote: > Atm I don't use rSpec but rather test/spec. > So there are probably some hurdles to overcome if you really wish to > use rSpec. What hurdles would you anticipate? ___ rspec-users mailing li

Re: [rspec-users] What command to run all stories?

2007-11-18 Thread David Chelimsky
On Nov 15, 2007 1:00 PM, Ed Howland <[EMAIL PROTECTED]> wrote: > On Nov 15, 2007 12:30 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > > > ENV["RAILS_ENV"] = "test" > > > require File.expand_path(File.dirname(__FILE__) + > > > "/../config/environment") > > > require 'spec/rails/story_adapter' > >

Re: [rspec-users] 'lazy' url generation in view specs

2007-11-18 Thread David Chelimsky
On Nov 15, 2007 3:59 AM, Ingo Weiss <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to use the 'lazy' style of url generation in my views, > omitting parameters from my calls to url_for (and named route > methods) that are then filled in from the current request parameters. > > Example: > url_for

[rspec-users] helper methods starting with should

2007-11-18 Thread David Chelimsky
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, and for people already comfortable with the classes/methods approach of Test

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 rsp

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] Using RSpec to drive the design of a GUI desktop application

2007-11-18 Thread David Chelimsky
On Nov 18, 2007 9:45 AM, Chris McGrath <[EMAIL PROTECTED]> wrote: > > > On 18 Nov 2007, at 14:56, David Chelimsky wrote: > > > On Nov 18, 2007 6:36 AM, Eloy Duran <[EMAIL PROTECTED]> wrote: > >> Atm I don't use rSpec but rather test/spec. > >> So there are probably some hurdles to overcome if you r

Re: [rspec-users] Not sure why this is failing

2007-11-18 Thread Jonathan Linowes
personally I find this to be one of the most frustrating things about rspec, well, rspec's stubs and wish the error messages could be much more helpful, rather than just telling that an expected method was not called, tell me if/when it was called with some other args instead (if this causes ex

Re: [rspec-users] Using RSpec to drive the design of a GUI desktop application

2007-11-18 Thread Chris McGrath
On 18 Nov 2007, at 14:56, David Chelimsky wrote: > On Nov 18, 2007 6:36 AM, Eloy Duran <[EMAIL PROTECTED]> wrote: >> Atm I don't use rSpec but rather test/spec. >> So there are probably some hurdles to overcome if you really wish to >> use rSpec. > > What hurdles would you anticipate? I don't th

Re: [rspec-users] Not sure why this is failing

2007-11-18 Thread David Chelimsky
On Nov 18, 2007 10:10 AM, Jonathan Linowes <[EMAIL PROTECTED]> wrote: > personally I find this to be one of the most frustrating things about > rspec, well, rspec's stubs > and wish the error messages could be much more helpful, > rather than just telling that an expected method was not called, tel

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 wi

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

2007-11-18 Thread Nathan Sutton
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 On Nov 18, 2007, at 9:59 AM, David Chelimsky wrote: > Hi all, > > As an experiment in playing nice with others,

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::Ex

Re: [rspec-users] rubyforge (was Re: Not sure why this is failing)

2007-11-18 Thread David Chelimsky
On Nov 18, 2007 11:15 AM, Jonathan Linowes <[EMAIL PROTECTED]> wrote: > OT I am so frustrated with Rubyforge. It refuses to let me log in. I > know I have an account as I can change my password, and go through > the login form, but it just returns with no cookie and not logged in > and no messages.

[rspec-users] rubyforge (was Re: Not sure why this is failing)

2007-11-18 Thread Jonathan Linowes
OT I am so frustrated with Rubyforge. It refuses to let me log in. I know I have an account as I can change my password, and go through the login form, but it just returns with no cookie and not logged in and no messages. Although I'm behind a proxy I do not have any similar problems with a

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

Re: [rspec-users] Using RSpec to drive the design of a GUI desktop application

2007-11-18 Thread Eloy Duran
Yes sorry I meant that rucola isn't fine tuned for rspec yet. :) But apperantly Chris is going to work on this. Eloy On 18-nov-2007, at 16:45, Chris McGrath <[EMAIL PROTECTED]> wrote: > > On 18 Nov 2007, at 14:56, David Chelimsky wrote: > >> On Nov 18, 2007 6:36 AM, Eloy Duran <[EMAIL PROTECTED

Re: [rspec-users] Down with Lambda!!

2007-11-18 Thread Wincent Colaiuta
El 18/11/2007, a las 0:59, [EMAIL PROTECTED] escribió: > Probably not. There was a longer discussion of it here: > http://rubyforge.org/tracker/index.php?func=detail&aid=13837&group_id=797&atid=3152 > > As you point out, creating an alias is a one-liner. > The main reason I don't want to add it is

Re: [rspec-users] Down with Lambda!!

2007-11-18 Thread Shane Mingins
On 18/11/2007, at 1:01 PM, David Chelimsky wrote: > We're still writing Ruby here, aren't we!!! > > Cheers, > David > > Wanted to share my initial reaction to your Ruby statement. Are we writing Ruby here? Or are we writing specifications? Are we not using the power of the Ruby language to

Re: [rspec-users] Down with Lambda!!

2007-11-18 Thread Jonathan Linowes
# for readability alias :running :lambda Q.E.D. On Nov 18, 2007, at 2:07 PM, Shane Mingins wrote: > > On 18/11/2007, at 1:01 PM, David Chelimsky wrote: >> We're still writing Ruby here, aren't we!!! >> >> Cheers, >> David >> >> > > > Wanted to share my initial reaction to your Ruby statement. >

[rspec-users] [ANN] Lighthouse and Engine Yard sponsorships

2007-11-18 Thread David Chelimsky
Hey all, I'm very happy to announce that ActiveReload[1] has generously offered to sponsor a lighthouse[2] account for rspec. We'll be moving ticket tracking there. We've already got the account set up and will soon make it public. We're also going to be getting a sponsored slice at Engine Yard[3

[rspec-users] help anyone?

2007-11-18 Thread David Chelimsky
Hi everybody. Per http://rubyforge.org/pipermail/rspec-users/2007-November/004572.html, we're going to be moving ticket tracking over to lighthouse. We'd like to get this rolling sooner than later, but we're fairly well occupied getting ready for the 1.1 release and writing rspec books :) We've g

Re: [rspec-users] [ANN] Lighthouse and Engine Yard sponsorships

2007-11-18 Thread Scott Taylor
On Nov 18, 2007, at 4:10 PM, David Chelimsky wrote: > Hey all, > > I'm very happy to announce that ActiveReload[1] has generously offered > to sponsor a lighthouse[2] account for rspec. We'll be moving ticket > tracking there. We've already got the account set up and will soon > make it public. >

Re: [rspec-users] help anyone?

2007-11-18 Thread Jonathan Linowes
David, If no one else offers a more efficient solution, I'm willing to manually copy the open tickets. (I count 37 of them) I have read access to Rubyforge and see this as an opportunity to get familiar with lighthouse Jonathan On Nov 18, 2007, at 4:16 PM, David Chelimsky wrote: > Hi everybo

Re: [rspec-users] help anyone?

2007-11-18 Thread David Chelimsky
On Nov 18, 2007 4:16 PM, Jonathan Linowes <[EMAIL PROTECTED]> wrote: > David, > > If no one else offers a more efficient solution, I'm willing to > manually copy the open tickets. (I count 37 of them) > I have read access to Rubyforge > and see this as an opportunity to get familiar with lighthouse

Re: [rspec-users] help anyone?

2007-11-18 Thread David Chelimsky
On Nov 18, 2007 3:16 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > Hi everybody. > > Per http://rubyforge.org/pipermail/rspec-users/2007-November/004572.html, > we're going to be moving ticket tracking over to lighthouse. We'd like > to get this rolling sooner than later, but we're fairly well o

Re: [rspec-users] help anyone?

2007-11-18 Thread Andrew WC Brown
If you want help moving them over give me a shout. On Nov 18, 2007 5:34 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Nov 18, 2007 3:16 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > > Hi everybody. > > > > Per http://rubyforge.org/pipermail/rspec-users/2007-November/004572.html > , > > w

Re: [rspec-users] [ANN] Lighthouse and Engine Yard sponsorships

2007-11-18 Thread Daniel N
On Nov 19, 2007 8:24 AM, Scott Taylor <[EMAIL PROTECTED]> wrote: > > On Nov 18, 2007, at 4:10 PM, David Chelimsky wrote: > > > Hey all, > > > > I'm very happy to announce that ActiveReload[1] has generously offered > > to sponsor a lighthouse[2] account for rspec. We'll be moving ticket > > tracki

Re: [rspec-users] [ANN] Lighthouse and Engine Yard sponsorships

2007-11-18 Thread Geoffrey Wiseman
On Nov 18, 2007 6:17 PM, Daniel N <[EMAIL PROTECTED]> wrote: > Please use Git. I've just got to know it ;) > Please use Mercurial. I've just got to know it. ;) (Actually, I don't much mind; I have Mercurial installed, but I don't have to interact with rspec source control often enough to min

Re: [rspec-users] [ANN] Lighthouse and Engine Yard sponsorships

2007-11-18 Thread Kevin Williams
I don't intend to use RSpec source either, but I suspect the most people would be satisfied with a main Subversion repository. Git users can check out from / in to a Subversion repository just fine. On Nov 18, 2007 4:28 PM, Geoffrey Wiseman <[EMAIL PROTECTED]> wrote: > On Nov 18, 2007 6:17 PM, Dan

Re: [rspec-users] [ANN] Lighthouse and Engine Yard sponsorships

2007-11-18 Thread Luis Lavena
On Nov 18, 2007 9:57 PM, Kevin Williams <[EMAIL PROTECTED]> wrote: > I don't intend to use RSpec source either, but I suspect the most > people would be satisfied with a main Subversion repository. Git users > can check out from / in to a Subversion repository just fine. > That poses a problem for

Re: [rspec-users] [ANN] Lighthouse and Engine Yard sponsorships

2007-11-18 Thread Kevin Williams
On 11/18/07, Luis Lavena <[EMAIL PROTECTED]> wrote: > On Nov 18, 2007 9:57 PM, Kevin Williams <[EMAIL PROTECTED]> wrote: > > I don't intend to use RSpec source either, but I suspect the most > > people would be satisfied with a main Subversion repository. Git users > > can check out from / in to a

[rspec-users] Stories and Pending Actions

2007-11-18 Thread Nathan Sutton
I can't get my plain text stories to show pending actions like the example addition plain text story. Any tips? (See below) http://pastie.caboo.se/119627 Nathan Sutton [EMAIL PROTECTED] rspec edge revision 2910 rspec_on_rails edge revision 2909 rails edge revision 8167 _

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

Re: [rspec-users] [rspec-devel] help anyone?

2007-11-18 Thread Chad Humphries
David, The move should be complete now. -Chad On Nov 18, 2007, at 5:26 PM, David Chelimsky wrote: > On Nov 18, 2007 4:16 PM, Jonathan Linowes <[EMAIL PROTECTED]> > wrote: >> David, >> >> If no one else offers a more efficient solution, I'm willing to >> manually copy the open tickets. (I coun