[rspec-users] Having a problem with new webrat matchers in cucumber 2

Pat Maddox pat.maddox at gmail.com
Fri Mar 20 13:10:53 EDT 2009

On Fri, Mar 20, 2009 at 9:53 AM, David Chelimsky <dchelimsky at gmail.com> wrote:
> On Fri, Mar 20, 2009 at 11:23 AM, Pat Maddox <pat.maddox at gmail.com> wrote:
>>> I think, if it is not already on the wiki, that cucumber users might be
>>> encouraged to put any local additions to support/env.rb into a separate
>>> file like support/local_env.rb.  Running script/generate cucumber to
>>> upgrade an existing project leaves those with customized env.rb files
>>> with two equally unappealing alternatives; keep the old and forgo the
>>> new or replace it entirely.
>> Or overwrite the file and use git diff to see what was removed, and
>> add it back in.
> Pat - this is a common problem w/ upgrading rspec-rails too - I asked
> James to file the ticket so we could coordinate on approach w/ cuc and
> rspec.
> Make sense to you?

Generally I have some stuff that I have to require before the rspec
config block loads.  I *think* that splitting everything into two
files would cause problems with certain dependencies, but that may be
something I just have to work out.


More information about the rspec-users mailing list