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 Schuerig mailto:michael at schuerig.de http://www.schuerig.de/michael/
On Thu, May 21, 2009 at 4:26 AM, Michael Schuerig <michael at schuerig.de> 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> 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 Schuerig > mailto:michael at schuerig.de > http://www.schuerig.de/michael/ > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
On Thursday 21 May 2009, David Chelimsky wrote:> On Thu, May 21, 2009 at 4:26 AM, Michael Schuerig<michael at schuerig.de> 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 Schuerig mailto:michael at schuerig.de http://www.schuerig.de/michael/