I am in the process of setting up an existing rails app on my local machine 
so that I can work on it. Others running the app have told me that all the 
rspec tests pass on their machines. All of my cucumber features pass.

However, when I run my specs, a few of the controller specs fail with the 
error: ActionView::Template::Error: No route matches {}

I have no idea what the issue could be... I'd appreciate any help you can 
provide.

The full error trace for one of the failing specs is below:

*ActionView::Template::Error: No route matches {} 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:532:in
 raise_routing_error' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:528:inrescue
 
in generate' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:520:in
 generate' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:561:ingenerate'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:586:in
 url_for' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/action_dispatch/routing/url_for.rb:148:inurl_for'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/action_view/helpers/url_helper.rb:107:in
 url_for' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/action_view/helpers/url_helper.rb:242:inlink_to'
 
/Users/david/RubymineProjects/my-steamboat-frk/app/views/transactional_mailer/invoice_simple.html.slim:19:in_app_views_transactional_mailer_invoice_simple_html_slim___4240489384167042744_70122208512920'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/action_view/template.rb:143:inblock
 
in render' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.3/lib/active_support/notifications.rb:123:in
 block 
in instrument' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.3/lib/active_support/notifications/instrumenter.rb:20:ininstrument'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.3/lib/active_support/notifications.rb:123:in
 instrument' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/action_view/template.rb:141:inrender'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/action_view/renderer/template_renderer.rb:47:in
 block 
(2 levels) in render_template' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/action_view/renderer/abstract_renderer.rb:38:inblock
 
in instrument' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.3/lib/active_support/notifications.rb:123:in
 block 
in instrument' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.3/lib/active_support/notifications/instrumenter.rb:20:ininstrument'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.3/lib/active_support/notifications.rb:123:in
 instrument' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/action_view/renderer/abstract_renderer.rb:38:ininstrument'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/action_view/renderer/template_renderer.rb:46:in
 block 
in render_template' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/action_view/renderer/template_renderer.rb:54:inrender_with_layout'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/action_view/renderer/template_renderer.rb:45:in
 render_template' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/action_view/renderer/template_renderer.rb:18:inrender'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/action_view/renderer/renderer.rb:36:in
 render_template' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/action_view/renderer/renderer.rb:17:inrender'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/abstract_controller/rendering.rb:110:in
 _render_template' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/abstract_controller/rendering.rb:103:inrender_to_body'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/abstract_controller/rendering.rb:88:in
 render' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionmailer-3.2.3/lib/action_mailer/base.rb:700:inblock
 
in collect_responses_and_parts_order' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionmailer-3.2.3/lib/action_mailer/base.rb:711:in
 each' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionmailer-3.2.3/lib/action_mailer/base.rb:711:ineach_template'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionmailer-3.2.3/lib/action_mailer/base.rb:696:incollect_responses_and_parts_order'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionmailer-3.2.3/lib/action_mailer/base.rb:635:inmail'
 
/Users/david/RubymineProjects/my-steamboat-frk/app/mailers/transactional_mailer.rb:34:ininvoice_created'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/abstract_controller/base.rb:167:inprocess_action'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/abstract_controller/base.rb:121:in
 process' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.3/lib/abstract_controller/rendering.rb:45:inprocess'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionmailer-3.2.3/lib/action_mailer/base.rb:456:in
 process' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionmailer-3.2.3/lib/action_mailer/base.rb:451:ininitialize'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionmailer-3.2.3/lib/action_mailer/base.rb:438:in
 new' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/actionmailer-3.2.3/lib/action_mailer/base.rb:438:inmethod_missing'
 
/Users/david/RubymineProjects/my-steamboat-frk/app/models/billing/invoice.rb:388:in
 send_invoice' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:435:in
run_3431639669026276146_create_2365573156509413698__callbacks' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405:in
 __run_callback' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:385:in_run_create_callbacks'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:81:inrun_callbacks'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.2.3/lib/active_record/callbacks.rb:268:increate'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.2.3/lib/active_record/persistence.rb:344:in
 create_or_update' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.2.3/lib/active_record/callbacks.rb:264:inblock
 
in create_or_update' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:469:in_run__3431639669026276146__save__2365573156509413698__callbacks'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405:in__run_callback'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:385:in
 _run_save_callbacks' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:81:inrun_callbacks'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.2.3/lib/active_record/callbacks.rb:264:in
 create_or_update' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.2.3/lib/active_record/persistence.rb:104:insave!'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.2.3/lib/active_record/validations.rb:56:in
 save!' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.2.3/lib/active_record/attribute_methods/dirty.rb:33:insave!'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.2.3/lib/active_record/transactions.rb:246:in
 block 
in save!' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.2.3/lib/active_record/transactions.rb:295:inblock
 
in with_transaction_returning_status' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in
 transaction' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.2.3/lib/active_record/transactions.rb:208:intransaction'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.2.3/lib/active_record/transactions.rb:293:inwith_transaction_returning_status'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.2.3/lib/active_record/transactions.rb:246:insave!'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/factory_girl-3.5.0/lib/factory_girl/configuration.rb:18:inblock
 
in initialize' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/factory_girl-3.5.0/lib/factory_girl/evaluation.rb:15:in[]'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/factory_girl-3.5.0/lib/factory_girl/evaluation.rb:15:in
 create' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/factory_girl-3.5.0/lib/factory_girl/strategy/create.rb:12:inblock
 
in result' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/factory_girl-3.5.0/lib/factory_girl/strategy/create.rb:9:intap'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/factory_girl-3.5.0/lib/factory_girl/strategy/create.rb:9:inresult'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/factory_girl-3.5.0/lib/factory_girl/factory.rb:42:in
 run' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/factory_girl-3.5.0/lib/factory_girl/factory_runner.rb:23:inblock
 
in run' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.3/lib/active_support/notifications.rb:125:in
 instrument' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/factory_girl-3.5.0/lib/factory_girl/factory_runner.rb:22:inrun'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/factory_girl-3.5.0/lib/factory_girl/strategy_syntax_method_registrar.rb:19:in
 block 
in define_singular_strategy_method' 
/Users/david/RubymineProjects/my-steamboat-frk/spec/controllers/customers_controller_spec.rb:106:increate_invoice'
 
/Users/david/RubymineProjects/my-steamboat-frk/spec/controllers/customers_controller_spec.rb:128:inblock
 
(3 levels) in <top (required)>' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:ininstance_eval'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:inblock
 
in run' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:inwith_around_each_hooks'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in
 run' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:inblock
 
in run_examples' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in
 map' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:inrun_examples'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in
 run' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:361:inblock
 
in run' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:361:in
 map' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:361:inrun'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:inblock
 
(2 levels) in run' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:inmap'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in
 block 
in run' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:inreport'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in
 run' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/spork-1.0.0rc3/lib/spork/test_framework/rspec.rb:11:inrun_tests'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/spork-1.0.0rc3/lib/spork/run_strategy/forking.rb:13:in
 block 
in run' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/spork-1.0.0rc3/lib/spork/forker.rb:21:inblock
 
in initialize' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/spork-1.0.0rc3/lib/spork/forker.rb:18:in
 fork' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/spork-1.0.0rc3/lib/spork/forker.rb:18:ininitialize'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/spork-1.0.0rc3/lib/spork/run_strategy/forking.rb:9:in
 new' 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/spork-1.0.0rc3/lib/spork/run_strategy/forking.rb:9:inrun'
 
/Users/david/.rvm/gems/ruby-1.9.2-p320/gems/spork-1.0.0rc3/lib/spork/server.rb:48:in
 run' 
/Users/david/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/drb/drb.rb:1563:inperform_without_block'
 
/Users/david/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/drb/drb.rb:1523:in 
perform' 
/Users/david/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/drb/drb.rb:1601:inblock 
(2 levels) in main_loop' 
/Users/david/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/drb/drb.rb:1597:in 
loop' 
/Users/david/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/drb/drb.rb:1597:inblock 
in main_loop'*


-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/iAioia1ivZAJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to