Rspec-rails: how to run checks?

I’m trying to run the specs of the rspec-rails master branch, but both
plain rake as well as rake spec fail. The default task fails because
there is no cucumber.yml. rake spec fails, when it requires a file that
is not part of the repo: rspec-rails/spec/spec_helper.rb refers to

require File.expand_path(“#{dir}/…/…/…/…/spec/spec_helper”)

Commenting out this line doesn’t make everything magically work, of
course. However, when I do that, I hit “uninitialized constant
ActionController”. So, I surmise that the missing spec_helper.rb among
other things sees to it that Rails is properly required.

Any hints on how to get the specs to work?

Michael


Michael S.
mailto:[email protected]
http://www.schuerig.de/michael/

On Thu, May 21, 2009 at 4:26 AM, Michael S. [email protected]
wrote:

I’m trying to run the specs of the rspec-rails master branch, but both
plain rake as well as rake spec fail.

Right now the only way to run them is in the context of the rspec-dev
suite: http://github.com/dchelimsky/rspec-dev

I added this ticket:
https://rspec.lighthouseapp.com/projects/5645-rspec/tickets/822

Please feel free to comment on that ticket.

Thanks,
David

On Thursday 21 May 2009, David C. wrote:

On Thu, May 21, 2009 at 4:26 AM, Michael S.
[email protected] wrote:

I’m trying to run the specs of the rspec-rails master branch, but
both plain rake as well as rake spec fail.

Right now the only way to run them is in the context of the rspec-dev
suite: http://github.com/dchelimsky/rspec-dev

I added this ticket:
Lighthouse - Beautifully Simple Issue Tracking

Please feel free to comment on that ticket.

As a social workaround, would you mind to add a note to that effect to
the rspec-rails README?

Michael


Michael S.
mailto:[email protected]
http://www.schuerig.de/michael/