The thing is, you might have a login.rb file that has login steps, that is then 
used in all of your features that require logging in. It appears you can 
override automatic loading via -r, but otherwise, it has to load everything to 
be safe.

JD

-----Original Message-----
From: ironruby-core-boun...@rubyforge.org 
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Mohammad Azam
Sent: Monday, March 01, 2010 11:11 AM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Cucumber with IronRuby

I cannot believe it that was the problem. I deleted the addition.rb file and it 
started working. Lesson learned!! Cucumber will execute everything inside the 
step_definations.

Jim Deville wrote:
> Heh, that's why I said send it to me offline. Anyways, addition.rb is 
> pure ruby, you can't have the last three lines of the file as is.
> 
> JD

--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to