Migrating from Rails 4.2 to Rails 5, so of course I got errors about positional 
arguments being replaced by keyword arguments on http requests in integration 
tests. I corrected all of those so that
        get “/route”, param1: value, param2: value, …
will look like
        get “/route”, params: {param1: value, … }
and that resolved most of them. 

But now I find I’ve got some where the source looks like
        get edit_account_activation_path(@user.activation_token + 'xyzzy’)

I checked and "edit_account_activation_path(@user.activation_token + 'xyzzy’)” 
resolves to "/account_activations/lasdfhdlkjdslksdafjhkxyzzy/edit”.


Fortunately (or unfortunately, depending on how you feel about controller tests 
vs feature tests), I don’t have many feature tests so there aren’t too many of 
these. But I’m absolutely flummoxed about how to resolve this.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/66ED4E44-E526-4B1B-9694-17A8B55676A2%40pobox.com.

Reply via email to