--
You received this message because you are subscribed to the Google Groups "rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rspec+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/66ED4E44-E526-4B1B-9694-17A8B55676A2%40pobox.com.
Failure/Error: get edit_account_activation_path(@user.activation_token)
ActionController::UrlGenerationError:No route matches {:action=>"/account_activations/11291f1553b269c585e0a1b7e87fbe10/edit", :controller=>"account_activations"}# ./spec/controllers/account_activations_controller_spec.rb:11:in `block (3 levels) in <top (required)>'
edit_account_activation GET /account_activations/:id/edit(.:format) account_activations#edit
To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/CAAk5Ok-fhnK3cQ%3D6QSGECH%2BChMzf%3DLNVahgyv3JDL9HnihKN4A%40mail.gmail.com.
Failure/Error: get edit_account_activation_path(@user.activation_token)
ActionController::UrlGenerationError:No route matches {:action=>"/account_activations/11291f1553b269c585e0a1b7e87fbe10/edit", :controller=>"account_activations"}
# ./spec/controllers/account_activations_controller_spec.rb:11:in `block (3 levels) in <top (required)>'
get :show, params: { id: 7 } |
--
You received this message because you are subscribed to the Google Groups "rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rspec+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/CAAk5Ok_AaAu4YPA%2BhA-ZxC2uwbdB30vjPUYFizdCpOe8cars7Q%40mail.gmail.com.
In other words, it’s not allowing URL helpers at all. So this resolves things for me (as far as controllers are concerned) — I’ll use the get ‘action’, params: {…} syntax.undefined method `edit_account_activation' for #<RSpec::ExampleGroups::AccountActivationsController::GETEdit:0x00007fb0345841c0>
DEPRECATION WARNING: Using positional arguments in integration tests has been deprecated, favor of keyword arguments, and will be removed in Rails 5.1.
--
You received this message because you are subscribed to the Google Groups "rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rspec+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/806a8626-4568-4ce8-86ed-2260e2ebbfedn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/437B754E-2CE9-4E72-86E5-4F4B0FA7B253%40pobox.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/CAAk5Ok-BWVwhcV%3DD_aSDLy9Q%2BKF5WkUY7wfC247OO5HrVxqnAw%40mail.gmail.com.