[rspec-users] Rake spec failure in beta.13
julien.palmas at gmail.com
Mon Jun 28 07:10:17 EDT 2010
Thank you all for this discussion and the fix
I ran into the same issue this morning, but with "Factory" being the
class that was undefined (using Factory Girl)
The fix explained in this discussion worked for me.
As a reminder for others :
1 - update spec_helper
require File.expand_path("../../config/environment", __FILE__)
require File.dirname(__FILE__) + "/../config/environment" unless
2 - update gemfile
gem 'rspec-rails', "2.0.0.beta.14.1"
3 - bundle install or bundle update (depending on your version of
On Jun 27, 5:39 am, David Chelimsky <dchelim... at gmail.com> wrote:
> On Jun 26, 2010, at 10:38 PM, geetarista wrote:
> >> What I believe to be the fix is now up in github. Geetarista, would you do me a favor and update your gemfile to point to the git repos:
> >> gem "rspec-rails", :git => "git://github.com/rspec/rspec-rails.git"
> >> gem "rspec-core", :git => "git://github.com/rspec/rspec-core.git"
> >> gem "rspec-expectations", :git => "git://github.com/rspec/rspec-expectations.git"
> >> gem "rspec-mocks", :git => "git://github.com/rspec/rspec-mocks.git"
> >> gem "rspec", :git => "git://github.com/rspec/rspec.git"
> >> Need to get all of them from git for this to work (just temporary until I get a release out).
> >> Then 'bundle install' and 'rake spec' and let me know if all is well.
> >> Thanks,
> >> David
> > That fixed it. Thanks so much, David!
> Great. Thanks. Release coming in the next day or so.
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
More information about the rspec-users