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
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
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
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
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
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
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
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
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
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
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
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
> -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
13 matches
Mail list logo