Re: [rspec-users] RSpec stories introduction

2008-01-15 Thread Jonathan Linowes
similarly, here's my write up: http://www.vaporbase.com/postings/Getting_Started_with_Story_Runner linoj On Jan 15, 2008, at 8:18 PM, James Byrne wrote: > I can get to the RSpec list through ruby-forum. Yes! The things you > discover googling for help! > > I followed the advice to go to peepco

Re: [rspec-users] RSpec stories introduction

2008-01-15 Thread James Byrne
I can get to the RSpec list through ruby-forum. Yes! The things you discover googling for help! I followed the advice to go to peepcode.com, which was somewhat ironic because that is where I started to look last week, before episode 18 for RSpec-Stories was released. However, better late than

Re: [rspec-users] fixtures in stories

2008-01-15 Thread James Deville
If you do a self.class.fixtures :all (or whatever name) in the given block, then you can read from fixtures, but you won't be able to do users(:tester), you'll have to do a User.find JD On Jan 15, 2008, at 7:23 AM, Ingo Weiss wrote: > Thanks, Chris! > > This is how I create most of my data fo

[rspec-users] Problem with ruby-debug and rspec

2008-01-15 Thread evan
So i've been getting this same thing with both rspec 1.1.1 and now with 1.1.2. ruby-debug works with i'm in the application code, but not when i'm in the 'spec', or spec helper methods i'm loading. Basically any command which should normally work like p, or pp, gets passed through to a method_miss

Re: [rspec-users] fixtures in stories

2008-01-15 Thread Ingo Weiss
Thanks, Chris! This is how I create most of my data for stories. However, I have one case (globalize languages/countries) where loading the data from fixtures seems to make more sense. Also, I would like to load them in one place, globally for all stories, as you can do in spec_helper, in

Re: [rspec-users] fixtures in stories

2008-01-15 Thread Chris Parsons
Hi Ingo, On 15 Jan 2008, at 14:55, Ingo Weiss wrote: > how/where do I load fixtures in stories? Try loading your data up manually using 'Given' blocks: (my_story.txt) Given a user called Bob And a user called Charlie and: (steps.rb) Given "a user called $name" do |name| User.create! :name

[rspec-users] fixtures in stories

2008-01-15 Thread Ingo Weiss
Hi all, how/where do I load fixtures in stories? Ingo ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] broken URL on rspec.info

2008-01-15 Thread David Chelimsky
On Jan 15, 2008 8:27 AM, Cody P. Skidmore <[EMAIL PROTECTED]> wrote: > Hey folks. I was looking for the mailing list archive up on rspec.info. > I clicked on the "community" link and received the URL > "http://ey01-s00414/community/";. This isn't correct, obviously. The hint > shows it as, "http

Re: [rspec-users] autotest displays no output

2008-01-15 Thread CNNN NICK
Hi all, I wasn't able to solve the problem of autotest not printing or running test until i read this post. I deleted the opts file and everything started working again. I am running autotest from Netbeans though, within my RoR projects. If i use the command line, it doesn't print colored resu

[rspec-users] broken URL on rspec.info

2008-01-15 Thread Cody P. Skidmore
Hey folks. I was looking for the mailing list archive up on rspec.info. I clicked on the "community" link and received the URL "http://ey01-s00414/community/";. This isn't correct, obviously. The hint shows it as, "http://rspec.info/community";. Where is the mailing list archive? How far back

Re: [rspec-users] RSpec stories introduction

2008-01-15 Thread Chris Parsons
On 15 Jan 2008, at 09:00, Andreas Axelsson wrote: > I had a bit of trouble with this as well, and here's what I've come > up with: > We use something fairly similar to Andreas' method here. For reference, here's a post from last month by David on how he organises his stories by feature: h

Re: [rspec-users] RSpec stories introduction

2008-01-15 Thread Andreas Axelsson
Sorry, but the formatting seems to have gone bad below. You'll most surely figure out how to fix it though. /axl > -Original Message- > From: [EMAIL PROTECTED] [mailto:rspec-users- > [EMAIL PROTECTED] On Behalf Of Andreas Axelsson > Sent: den 15 januari 2008 10:00 > To: rspec-users > Sub

Re: [rspec-users] RSpec stories introduction

2008-01-15 Thread Andreas Axelsson
> -Original Message- > From: [EMAIL PROTECTED] [mailto:rspec-users- > [EMAIL PROTECTED] On Behalf Of James B. Byrne > Sent: den 14 januari 2008 21:56 > To: rspec-users@rubyforge.org > Subject: [rspec-users] RSpec stories introduction > > I have played a bit with RSpec specs and now want to