Hello, I'm experiencing a weird behavior that I cant find the
solution. My specs that depends on Factory Girl with attachment only
works in command line and not in Textmate with Command+R or Command
+Shift+R.
My app uses rspec 1.3, rspec-rails 1.3.2, factory-girl 1.2.4 and Rails
2.3.5 with papercl
Em 19-06-2010 16:12, Rick DeNatale escreveu:
On Sat, Jun 19, 2010 at 1:07 PM, Rodrigo Rosenfeld Rosas
wrote:
Is there any reason for that? If so, couldn't Rspec use Capybara instead of
Webrat if it is not present? Is it possible to depend on Webrat OR Capybara
in the gem specs?
Gems
I forgot to add the error:
1) AccountsController Routes should route to new action with GET
Failure/Error: { :get => "/accounts/new" }.should
route_to(:controller => "accounts", :action => "new")
undefined method `route_to' for
#
# /Users/damselem/.rvm/gems/ruby-1.9.1-p...@rails3/gems/