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("../..
Daniel A. wrote:
> Hmm... So what do you have in your gemfile? Just gem rspec-rails,
> without the version? Do you know why there are some gems that are
> installed in the bundler directory? Thank you very much !
In my gem file, for rspec-rails
gem 'rspec-rails', :git => 'http://github.com/rspec/r
Daniel, your post saved my day!
I got the same undefined method `route_to' error with rspec-rails
v2.0.0.beta.12 and did not understand why ...
Seems like this method has been added after the v2.0.0.beta.12 tag.
You'll have to use the tip of the repo to get that working, until
v2.0.0.beta.13 or
Hey Guys,
I am trying to create a app that makes use of EventMachine.
As I recently fell in love with Rspec, I was trying to use it with our
EM. However, I have no idea how to do this. Also, I want to remove
network connections from the tests (as I might not be connected when
running them), so I t