Rspec-rails: how to run checks?


#1

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:removed_email_address@domain.invalid
http://www.schuerig.de/michael/


#2

On Thu, May 21, 2009 at 4:26 AM, Michael S. removed_email_address@domain.invalid
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


#3

On Thursday 21 May 2009, David C. wrote:

On Thu, May 21, 2009 at 4:26 AM, Michael S.
removed_email_address@domain.invalid 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.

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

Michael


Michael S.
mailto:removed_email_address@domain.invalid
http://www.schuerig.de/michael/