Jean-Michel Garnier wrote:
> 3 months ago, I submitted a patch to cucumber so I could run cucumber from
> a
> ruby script and use the debugger in netbeans
> (https://rspec.lighthouseapp.com/projects/16211/tickets/128-running-feature-from-ruby-script)
>
> It worked well at the time but I can't ma
Hey all, just upgraded an older app to latest rspec and rails. This
code runs fine in console but fails under rspec.
class User
has_many :statuses, :extend => Status:::AssociationExtension
end
module Status::AssociationExtensions
def after(status)
find(:first, :con
On 8 May 2009, at 15:24, aslak hellesoy wrote:
So are you saying we'd put the steps in a gem, then include them
using require?
So I can do this in my env file:
gem 'cucumber-steps'
require 'cucumber/steps/webrat'
require 'cucumber/steps/factory_girl'
or in another pro
On Fri, May 8, 2009 at 10:24 AM, aslak hellesoy
wrote:
>> [ Matt Wynne: ]
>> So are you saying we'd put the steps in a gem, then include them using
>> require?
>
> Yes.
Is there any reason not to accept them for inclusion in the Cucumber
gem? You already have precedent with the Webrat steps. O
> On Fri, May 8, 2009 at 10:24 AM, aslak hellesoy
> wrote:
> >> [ Matt Wynne: ]
> >> So are you saying we'd put the steps in a gem, then include them using
> require?
> >
> > Yes.
>
> Is there any reason not to accept them for inclusion in the Cucumber
> gem?
Yes. It becomes too big for me to ma
On Sat, May 9, 2009 at 2:01 AM, court3nay wrote:
> Hey all, just upgraded an older app to latest rspec and rails. This
> code runs fine in console but fails under rspec.
>
> class User
> has_many :statuses, :extend => Status:::AssociationExtension
> end
>
> module Status::Association
court3nay wrote:
Hey all, just upgraded an older app to latest rspec and rails. This
code runs fine in console but fails under rspec.
class User
has_many :statuses, :extend => Status:::AssociationExtension
end
module Status::AssociationExtensions
def after(status)
On Fri, May 8, 2009 at 7:06 PM, Ben Mabey wrote:
> Mark Wilden wrote:
>
>> Running 'cucumber -n "asdf" features/challenge.feature' seems to load
>> every feature file from the Rails root on down. In particular, it loads
>> example features in vendor/gems like Ben's email_spec which requires Rails
Jean-Michel Garnier wrote:
Jean-Michel Garnier wrote:
3 months ago, I submitted a patch to cucumber so I could run cucumber from
a
ruby script and use the debugger in netbeans
(https://rspec.lighthouseapp.com/projects/16211/tickets/128-running-feature-from-ruby-script)
It worked well at the