Lluis Toyos

Joined

60 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in i18n + Minitest

This is the rails test output
Running via Spring preloader in process 3754
Started with run options --seed 15709

Run options: --seed 15709--=---=---=---=---=---=---=---=---=---=---=---=---=---] 0% Time: 00:00:00, ETA: ??:??:??

Running:

ERROR["test_valid_signup_information_with_account_activation", UsersSignupTest, 1.6046009600000843]
test_valid_signup_information_with_account_activation#UsersSignupTest (1.60s)
ArgumentError: ArgumentError: unknown keyword: locale
test/integration/users_signup_test.rb:20:in block (2 levels) in <class:UsersSignupTest>'
test/integration/users_signup_test.rb:19:in
block in <class:UsersSignupTest>'

E 73/1: [ ] 1% Time: 00:00:01, ETA: 00:02:09

Error:
UsersSignupTest#test_valid_signup_information_with_account_activation:
ArgumentError: unknown keyword: locale
test/integration/users_signup_test.rb:20:in block (2 levels) in &lt;class:UsersSignupTest&gt;'
test/integration/users_signup_test.rb:19:in
block in <class:UsersSignupTest>'

bin/rails test test/integration/users_signup_test.rb:17

. 73/4: [=== ] 5% Time: 00:00:02, ETA: 00:00:4.. 73/6: [===== ] 8% Time: 00:00:02, ETA: 00:00:.. 73/8: [====== ] 10% Time: 00:00:02, ETA: 00:00:.. 73/10: [======== ] 13% Time: 00:00:02, ETA: 00:00:. 73/11: [========== ] 15% Time: 00:00:02, ETA: 00:00:1. 73/12: [========== ] 16% Time: 00:00:02, ETA: 00:00:1. 73/13: [=========== ] 17% Time: 00:00:02, ETA: 00:00:1. 73/14: [============ ] 19% Time: 00:00:02, ETA: 00:00:1. 73/15: [============= ] 20% Time: 00:00:02, ETA: 00:00:1ERROR["test_account_activation", UserMailerTest, 3.043113541000025]
test_account_activation#UserMailerTest (3.04s)
ActionView::Template::Error: ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"account_activations", :email=>"michael@example.com", :locale=>"Uk39liRgQZICGUCpW6bMFg"}, missing required keys: [:id]
app/views/user_mailer/account_activation.html.erb:6:in _app_views_user_mailer_account_activation_html_erb___4523844402868130098_47086995252640'
app/mailers/user_mailer.rb:12:in
account_activation'
test/mailers/user_mailer_test.rb:8:in `block in <class:UserMailerTest>'

E 73/15: [============= ] 20% Time: 00:00:03, ETA: 00:00:12

Error:
UserMailerTest#test_account_activation:
ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"account_activations", :email=>"michael@example.com", :locale=>"Uk39liRgQZICGUCpW6bMFg"}, missing required keys: [:id]
app/views/user_mailer/account_activation.html.erb:6:in _app_views_user_mailer_account_activation_html_erb___4523844402868130098_47086995252640'
app/mailers/user_mailer.rb:12:in
account_activation'
test/mailers/user_mailer_test.rb:8:in `block in <class:UserMailerTest>'

bin/rails test test/mailers/user_mailer_test.rb:4

ERROR["test_password_reset", UserMailerTest, 3.0596972810000125]
test_password_reset#UserMailerTest (3.06s)
ActionView::Template::Error: ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"password_resets", :email=>"michael@example.com", :locale=>"zaSqIQn-nDsm0CeEZeJixA"}, missing required keys: [:id]
app/views/user_mailer/password_reset.html.erb:3:in _app_views_user_mailer_password_reset_html_erb___3026473925772262166_47086995051880'
app/mailers/user_mailer.rb:23:in
password_reset'
test/mailers/user_mailer_test.rb:22:in `block in <class:UserMailerTest>'

E 73/16: [============== ] 21% Time: 00:00:03, ETA: 00:00:11

Error:
UserMailerTest#test_password_reset:
ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"password_resets", :email=>"michael@example.com", :locale=>"zaSqIQn-nDsm0CeEZeJixA"}, missing required keys: [:id]
app/views/user_mailer/password_reset.html.erb:3:in _app_views_user_mailer_password_reset_html_erb___3026473925772262166_47086995051880'
app/mailers/user_mailer.rb:23:in
password_reset'
test/mailers/user_mailer_test.rb:22:in `block in <class:UserMailerTest>'

bin/rails test test/mailers/user_mailer_test.rb:18

. 73/19: [================= ] 26% Time: 00:00:03, ETA: 00:00:0. 73/20: [================== ] 27% Time: 00:00:03, ETA: 00:00:0ERROR["test_should_display_user_when_activated", UsersShowTest, 3.393901114000073]
test_should_display_user_when_activated#UsersShowTest (3.39s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"users", :locale=>#<User id: 950961012, name: "Sterling Archer", email: "duchess@example.gov", created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29", password_digest: "$2a$04$wWaSMg9.tthYxI6/fG0W4e2cQSXG3VHeQ7n00f28tJt...", remember_digest: nil, admin: false, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:40:28", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_show_test.rb:16:in `block in <class:UsersShowTest>'

E 73/21: [=================== ] 28% Time: 00:00:03, ETA: 00:00:08

Error:
UsersShowTest#test_should_display_user_when_activated:
ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"users", :locale=>#<User id: 950961012, name: "Sterling Archer", email: "duchess@example.gov", created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29", password_digest: "$2a$04$wWaSMg9.tthYxI6/fG0W4e2cQSXG3VHeQ7n00f28tJt...", remember_digest: nil, admin: false, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:40:28", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_show_test.rb:16:in `block in <class:UsersShowTest>'

bin/rails test test/integration/users_show_test.rb:15

ERROR["test_should_redirect_to_root_url_when_user_not_activated", UsersShowTest, 3.3986605050000662]
test_should_redirect_to_root_url_when_user_not_activated#UsersShowTest (3.40s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"users", :locale=>#<User id: 198381282, name: "Inactive User", email: "inactive@example.com", created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29", password_digest: "$2a$04$D.VztckCshh/40FeTtok9OWNqWPSyRMGvJ8/ggfNoiL...", remember_digest: nil, admin: false, activation_digest: nil, activated: false, activated_at: nil, reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_show_test.rb:11:in `block in <class:UsersShowTest>'

E

Error:
UsersShowTest#test_should_redirect_to_root_url_when_user_not_activated:
ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"users", :locale=>#<User id: 198381282, name: "Inactive User", email: "inactive@example.com", created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29", password_digest: "$2a$04$D.VztckCshh/40FeTtok9OWNqWPSyRMGvJ8/ggfNoiL...", remember_digest: nil, admin: false, activation_digest: nil, activated: false, activated_at: nil, reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_show_test.rb:11:in `block in <class:UsersShowTest>'

bin/rails test test/integration/users_show_test.rb:10

. 73/25: [======================= ] 34% Time: 00:00:03, ETA: 00:00:0. 73/26: [======================= ] 35% Time: 00:00:03, ETA: 00:00:0.. 73/28: [========================= ] 38% Time: 00:00:03, ETA: 00:00:. 73/29: [========================== ] 39% Time: 00:00:03, ETA: 00:00:0.. 73/31: [============================ ] 42% Time: 00:00:03, ETA: 00:00:.. 73/33: [============================== ] 45% Time: 00:00:03, ETA: 00:00:.. 73/35: [=============================== ] 47% Time: 00:00:03, ETA: 00:00:. 73/36: [================================= ] 49% Time: 00:00:03, ETA: 00:00:0.. 73/38: [=================================== ] 52% Time: 00:00:03, ETA: 00:00:. 73/39: [==================================== ] 53% Time: 00:00:03, ETA: 00:00:0. 73/40: [==================================== ] 54% Time: 00:00:03, ETA: 00:00:0ERROR["test_\"should_redirect_create_when_not_logged_in", MicropostsControllerTest, 3.7718529549999857]
test_"should_redirect_create_when_not_logged_in#MicropostsControllerTest (3.77s)
ArgumentError: ArgumentError: unknown keyword: locale
test/controllers/microposts_controller_test.rb:10:in block (2 levels) in &lt;class:MicropostsControllerTest&gt;'
test/controllers/microposts_controller_test.rb:9:in
block in <class:MicropostsControllerTest>'

E

Error:
MicropostsControllerTest#test_"should_redirect_create_when_not_logged_in:
ArgumentError: unknown keyword: locale
test/controllers/microposts_controller_test.rb:10:in block (2 levels) in &lt;class:MicropostsControllerTest&gt;'
test/controllers/microposts_controller_test.rb:9:in
block in <class:MicropostsControllerTest>'

bin/rails test test/controllers/microposts_controller_test.rb:8

.. 73/44: [======================================== ] 60% Time: 00:00:03, ETA: 00:00:. 73/45: [========================================= ] 61% Time: 00:00:03, ETA: 00:00:0. 73/46: [========================================== ] 63% Time: 00:00:03, ETA: 00:00:0. 73/47: [=========================================== ] 64% Time: 00:00:03, ETA: 00:00:0. 73/48: [============================================ ] 65% Time: 00:00:04, ETA: 00:00:0. 73/49: [============================================= ] 67% Time: 00:00:04, ETA: 00:00:0ERROR["test_profile_display", UsersProfileTest, 4.097675971000058]
test_profile_display#UsersProfileTest (4.10s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29", password_digest: "$2a$04$sw048g..2WrVFui53pXeGORhay17GvkH6JRIuQVZqDX...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:40:28", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_profile_test.rb:8:in `block in <class:UsersProfileTest>'

E

Error:
UsersProfileTest#test_profile_display:
ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29", password_digest: "$2a$04$sw048g..2WrVFui53pXeGORhay17GvkH6JRIuQVZqDX...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:40:28", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_profile_test.rb:8:in `block in <class:UsersProfileTest>'

bin/rails test test/integration/users_profile_test.rb:7

ERROR["test_test_profile_stats_on_home_page", UsersProfileTest, 4.127324826000063]
test_test_profile_stats_on_home_page#UsersProfileTest (4.13s)
ActionController::RoutingError: ActionController::RoutingError: No route matches [GET] "/762146111"
test/integration/users_profile_test.rb:21:in `block in <class:UsersProfileTest>'

E 73/50: [============================================== ] 68% Time: 00:00:04, ETA: 00:00:02

Error:
UsersProfileTest#test_test_profile_stats_on_home_page:
ActionController::RoutingError: No route matches [GET] "/762146111"
test/integration/users_profile_test.rb:21:in `block in <class:UsersProfileTest>'

bin/rails test test/integration/users_profile_test.rb:19

ERROR["test_friendly_forwarding_is_disabled_on_consecutive_logins", UsersEditTest, 4.132257754000079]
test_friendly_forwarding_is_disabled_on_consecutive_logins#UsersEditTest (4.13s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"edit", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29", password_digest: "$2a$04$sw048g..2WrVFui53pXeGORhay17GvkH6JRIuQVZqDX...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:40:28", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_edit_test.rb:55:in `block in <class:UsersEditTest>'

E

Error:
UsersEditTest#test_friendly_forwarding_is_disabled_on_consecutive_logins:
ActionController::UrlGenerationError: No route matches {:action=>"edit", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29", password_digest: "$2a$04$sw048g..2WrVFui53pXeGORhay17GvkH6JRIuQVZqDX...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:40:28", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_edit_test.rb:55:in `block in <class:UsersEditTest>'

bin/rails test test/integration/users_edit_test.rb:54

ERROR["test_successful_edit_with_friendly_forwarding", UsersEditTest, 4.221541997000031]
test_successful_edit_with_friendly_forwarding#UsersEditTest (4.22s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"edit", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29", password_digest: "$2a$04$sw048g..2WrVFui53pXeGORhay17GvkH6JRIuQVZqDX...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:40:28", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_edit_test.rb:37:in `block in <class:UsersEditTest>'

E

Error:
UsersEditTest#test_successful_edit_with_friendly_forwarding:
ActionController::UrlGenerationError: No route matches {:action=>"edit", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29", password_digest: "$2a$04$sw048g..2WrVFui53pXeGORhay17GvkH6JRIuQVZqDX...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:40:28", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_edit_test.rb:37:in `block in <class:UsersEditTest>'

bin/rails test test/integration/users_edit_test.rb:36

ERROR["test_destroy_should_require_logged-in_user", RelationshipsControllerTest, 4.324087216000066]
test_destroy_should_require_logged-in_user#RelationshipsControllerTest (4.32s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"destroy", :controller=>"relationships", :locale=>#<Relationship id: 980190962, follower_id: 762146111, followed_id: 409608538, created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29">}, missing required keys: [:id]
test/controllers/relationships_controller_test.rb:11:in block (2 levels) in &lt;class:RelationshipsControllerTest&gt;'
test/controllers/relationships_controller_test.rb:10:in
block in <class:RelationshipsControllerTest>'

E 73/56: [=================================================== ] 76% Time: 00:00:04, ETA: 00:00:01

Error:
RelationshipsControllerTest#test_destroy_should_require_logged-in_user:
ActionController::UrlGenerationError: No route matches {:action=>"destroy", :controller=>"relationships", :locale=>#<Relationship id: 980190962, follower_id: 762146111, followed_id: 409608538, created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29">}, missing required keys: [:id]
test/controllers/relationships_controller_test.rb:11:in block (2 levels) in &lt;class:RelationshipsControllerTest&gt;'
test/controllers/relationships_controller_test.rb:10:in
block in <class:RelationshipsControllerTest>'

bin/rails test test/controllers/relationships_controller_test.rb:9

ERROR["test_reuse_token", PasswordResetsTest, 4.3925151230000665]
test_reuse_token#PasswordResetsTest (4.39s)
ActionView::Template::Error: ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"password_resets", :email=>"michael@example.com", :locale=>"Wh4ln3k9DO5vha3vniYwjA"}, missing required keys: [:id]
app/views/user_mailer/password_reset.html.erb:3:in _app_views_user_mailer_password_reset_html_erb___3026473925772262166_47086995051880'
app/mailers/user_mailer.rb:23:in
password_reset'
app/models/user.rb:77:in send_password_reset_email'
app/controllers/password_resets_controller.rb:12:in
create'
test/integration/password_resets_test.rb:79:in `block in <class:PasswordResetsTest>'

E 73/57: [===================================================== ] 78% Time: 00:00:04, ETA: 00:00:01

Error:
PasswordResetsTest#test_reuse_token:
ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"password_resets", :email=>"michael@example.com", :locale=>"Wh4ln3k9DO5vha3vniYwjA"}, missing required keys: [:id]
app/views/user_mailer/password_reset.html.erb:3:in _app_views_user_mailer_password_reset_html_erb___3026473925772262166_47086995051880'
app/mailers/user_mailer.rb:23:in
password_reset'
app/models/user.rb:77:in send_password_reset_email'
app/controllers/password_resets_controller.rb:12:in
create'
test/integration/password_resets_test.rb:79:in `block in <class:PasswordResetsTest>'

bin/rails test test/integration/password_resets_test.rb:77

ERROR["test_password_resets", PasswordResetsTest, 4.448625476000075]
test_password_resets#PasswordResetsTest (4.45s)
ActionView::Template::Error: ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"password_resets", :email=>"michael@example.com", :locale=>"djCadtG-Ff5uCjgXvzy49w"}, missing required keys: [:id]
app/views/user_mailer/password_reset.html.erb:3:in _app_views_user_mailer_password_reset_html_erb___3026473925772262166_47086995051880'
app/mailers/user_mailer.rb:23:in
password_reset'
app/models/user.rb:77:in send_password_reset_email'
app/controllers/password_resets_controller.rb:12:in
create'
test/integration/password_resets_test.rb:16:in `block in <class:PasswordResetsTest>'

E 73/58: [===================================================== ] 79% Time: 00:00:04, ETA: 00:00:01

Error:
PasswordResetsTest#test_password_resets:
ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"password_resets", :email=>"michael@example.com", :locale=>"djCadtG-Ff5uCjgXvzy49w"}, missing required keys: [:id]
app/views/user_mailer/password_reset.html.erb:3:in _app_views_user_mailer_password_reset_html_erb___3026473925772262166_47086995051880'
app/mailers/user_mailer.rb:23:in
password_reset'
app/models/user.rb:77:in send_password_reset_email'
app/controllers/password_resets_controller.rb:12:in
create'
test/integration/password_resets_test.rb:16:in `block in <class:PasswordResetsTest>'

bin/rails test test/integration/password_resets_test.rb:8

ERROR["test_expired_token", PasswordResetsTest, 4.484066460000008]
test_expired_token#PasswordResetsTest (4.48s)
ActionView::Template::Error: ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"password_resets", :email=>"michael@example.com", :locale=>"J2FaMc2_mUnkpMF6MAwzLQ"}, missing required keys: [:id]
app/views/user_mailer/password_reset.html.erb:3:in _app_views_user_mailer_password_reset_html_erb___3026473925772262166_47086995051880'
app/mailers/user_mailer.rb:23:in
password_reset'
app/models/user.rb:77:in send_password_reset_email'
app/controllers/password_resets_controller.rb:12:in
create'
test/integration/password_resets_test.rb:64:in `block in <class:PasswordResetsTest>'

E 73/59: [====================================================== ] 80% Time: 00:00:04, ETA: 00:00:01

Error:
PasswordResetsTest#test_expired_token:
ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"password_resets", :email=>"michael@example.com", :locale=>"J2FaMc2_mUnkpMF6MAwzLQ"}, missing required keys: [:id]
app/views/user_mailer/password_reset.html.erb:3:in _app_views_user_mailer_password_reset_html_erb___3026473925772262166_47086995051880'
app/mailers/user_mailer.rb:23:in
password_reset'
app/models/user.rb:77:in send_password_reset_email'
app/controllers/password_resets_controller.rb:12:in
create'
test/integration/password_resets_test.rb:64:in `block in <class:PasswordResetsTest>'

bin/rails test test/integration/password_resets_test.rb:62

. 73/62: [========================================================= ] 84% Time: 00:00:04, ETA: 00:00:0. 73/63: [========================================================== ] 86% Time: 00:00:04, ETA: 00:00:0. 73/64: [=========================================================== ] 87% Time: 00:00:04, ETA: 00:00:0. 73/65: [============================================================ ] 89% Time: 00:00:04, ETA: 00:00:0. 73/66: [============================================================= ] 90% Time: 00:00:04, ETA: 00:00:0. 73/67: [============================================================= ] 91% Time: 00:00:04, ETA: 00:00:0ERROR["test_should_redirect_edit_when_not_logged_in", UsersControllerTest, 4.624063183000089]
test_should_redirect_edit_when_not_logged_in#UsersControllerTest (4.62s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"edit", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29", password_digest: "$2a$04$sw048g..2WrVFui53pXeGORhay17GvkH6JRIuQVZqDX...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:40:28", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/controllers/users_controller_test.rb:15:in `block in <class:UsersControllerTest>'

E 73/67: [============================================================= ] 91% Time: 00:00:04, ETA: 00:00:00

Error:
UsersControllerTest#test_should_redirect_edit_when_not_logged_in:
ActionController::UrlGenerationError: No route matches {:action=>"edit", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29", password_digest: "$2a$04$sw048g..2WrVFui53pXeGORhay17GvkH6JRIuQVZqDX...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:40:28", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/controllers/users_controller_test.rb:15:in `block in <class:UsersControllerTest>'

bin/rails test test/controllers/users_controller_test.rb:14

ERROR["test_should_redirect_followers_when_not_logged_in", UsersControllerTest, 4.635617076000017]
test_should_redirect_followers_when_not_logged_in#UsersControllerTest (4.64s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"followers", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29", password_digest: "$2a$04$sw048g..2WrVFui53pXeGORhay17GvkH6JRIuQVZqDX...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:40:28", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/controllers/users_controller_test.rb:52:in `block in <class:UsersControllerTest>'

E 73/68: [=============================================================== ] 93% Time: 00:00:04, ETA: 00:00:00

Error:
UsersControllerTest#test_should_redirect_followers_when_not_logged_in:
ActionController::UrlGenerationError: No route matches {:action=>"followers", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29", password_digest: "$2a$04$sw048g..2WrVFui53pXeGORhay17GvkH6JRIuQVZqDX...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:40:28", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/controllers/users_controller_test.rb:52:in `block in <class:UsersControllerTest>'

bin/rails test test/controllers/users_controller_test.rb:51

. 73/71: [================================================================= ] 97% Time: 00:00:04, ETA: 00:00:0ERROR["test_should_redirect_following_when_not_logged_in", UsersControllerTest, 4.706327491000025]
test_should_redirect_following_when_not_logged_in#UsersControllerTest (4.71s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"following", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29", password_digest: "$2a$04$sw048g..2WrVFui53pXeGORhay17GvkH6JRIuQVZqDX...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:40:28", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/controllers/users_controller_test.rb:47:in `block in <class:UsersControllerTest>'

E

Error:
UsersControllerTest#test_should_redirect_following_when_not_logged_in:
ActionController::UrlGenerationError: No route matches {:action=>"following", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29", password_digest: "$2a$04$sw048g..2WrVFui53pXeGORhay17GvkH6JRIuQVZqDX...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:40:28", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/controllers/users_controller_test.rb:47:in `block in <class:UsersControllerTest>'

bin/rails test test/controllers/users_controller_test.rb:46

ERROR["test_should_redirect_update_when_not_logged_in", UsersControllerTest, 4.71499463400005]
test_should_redirect_update_when_not_logged_in#UsersControllerTest (4.72s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29", password_digest: "$2a$04$sw048g..2WrVFui53pXeGORhay17GvkH6JRIuQVZqDX...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:40:28", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/controllers/users_controller_test.rb:21:in `block in <class:UsersControllerTest>'

73/73: [===================================================================] 100% Time: 00:00:04, Time: 00:00:04
E

Error:
UsersControllerTest#test_should_redirect_update_when_not_logged_in:
ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:40:29", updated_at: "2018-06-24 21:40:29", password_digest: "$2a$04$sw048g..2WrVFui53pXeGORhay17GvkH6JRIuQVZqDX...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:40:28", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/controllers/users_controller_test.rb:21:in `block in <class:UsersControllerTest>'

bin/rails test test/controllers/users_controller_test.rb:20

Finished in 4.71606s
73 tests, 266 assertions, 0 failures, 18 errors, 0 skips

Finished in 4.750969s, 15.3653 runs/s, 55.9886 assertions/s.
73 runs, 266 assertions, 0 failures, 18 errors, 0 skips
[toyos@localhost sample_app]$ rails test
Running via Spring preloader in process 4358
Started with run options --seed 41946

Run options: --seed 41946--=---=---=---=---=---=---=---=---=---=---=---=---=---] 0% Time: 00:00:00, ETA: ??:??:??

Running:

. 73/2: [= ] 2% Time: 00:00:00, ETA: 00:00:3.. 73/4: [=== ] 5% Time: 00:00:00, ETA: 00:00:. 73/5: [==== ] 6% Time: 00:00:00, ETA: 00:00:1. 73/6: [===== ] 8% Time: 00:00:00, ETA: 00:00:1ERROR["test_reuse_token", PasswordResetsTest, 1.5153187930000058]
test_reuse_token#PasswordResetsTest (1.52s)
ActionView::Template::Error: ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"password_resets", :email=>"michael@example.com", :locale=>"shIKikjijR1x0Ct34ZhyLA"}, missing required keys: [:id]
app/views/user_mailer/password_reset.html.erb:3:in _app_views_user_mailer_password_reset_html_erb__2892793465448012323_47351764993180'
app/mailers/user_mailer.rb:23:in
password_reset'
app/models/user.rb:77:in send_password_reset_email'
app/controllers/password_resets_controller.rb:12:in
create'
test/integration/password_resets_test.rb:79:in `block in <class:PasswordResetsTest>'

E 73/6: [===== ] 8% Time: 00:00:01, ETA: 00:00:17

Error:
PasswordResetsTest#test_reuse_token:
ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"password_resets", :email=>"michael@example.com", :locale=>"shIKikjijR1x0Ct34ZhyLA"}, missing required keys: [:id]
app/views/user_mailer/password_reset.html.erb:3:in _app_views_user_mailer_password_reset_html_erb__2892793465448012323_47351764993180'
app/mailers/user_mailer.rb:23:in
password_reset'
app/models/user.rb:77:in send_password_reset_email'
app/controllers/password_resets_controller.rb:12:in
create'
test/integration/password_resets_test.rb:79:in `block in <class:PasswordResetsTest>'

bin/rails test test/integration/password_resets_test.rb:77

ERROR["test_expired_token", PasswordResetsTest, 1.5448511800000233]
test_expired_token#PasswordResetsTest (1.54s)
ActionView::Template::Error: ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"password_resets", :email=>"michael@example.com", :locale=>"T6RHGcSxtovjZdLvIrPy0g"}, missing required keys: [:id]
app/views/user_mailer/password_reset.html.erb:3:in _app_views_user_mailer_password_reset_html_erb__2892793465448012323_47351764993180'
app/mailers/user_mailer.rb:23:in
password_reset'
app/models/user.rb:77:in send_password_reset_email'
app/controllers/password_resets_controller.rb:12:in
create'
test/integration/password_resets_test.rb:64:in `block in <class:PasswordResetsTest>'

E 73/7: [====== ] 9% Time: 00:00:01, ETA: 00:00:15

Error:
PasswordResetsTest#test_expired_token:
ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"password_resets", :email=>"michael@example.com", :locale=>"T6RHGcSxtovjZdLvIrPy0g"}, missing required keys: [:id]
app/views/user_mailer/password_reset.html.erb:3:in _app_views_user_mailer_password_reset_html_erb__2892793465448012323_47351764993180'
app/mailers/user_mailer.rb:23:in
password_reset'
app/models/user.rb:77:in send_password_reset_email'
app/controllers/password_resets_controller.rb:12:in
create'
test/integration/password_resets_test.rb:64:in `block in <class:PasswordResetsTest>'

bin/rails test test/integration/password_resets_test.rb:62

ERROR["test_password_resets", PasswordResetsTest, 1.5864025109999602]
test_password_resets#PasswordResetsTest (1.59s)
ActionView::Template::Error: ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"password_resets", :email=>"michael@example.com", :locale=>"p7P3o8M-d_VXgEykt3rWrg"}, missing required keys: [:id]
app/views/user_mailer/password_reset.html.erb:3:in _app_views_user_mailer_password_reset_html_erb__2892793465448012323_47351764993180'
app/mailers/user_mailer.rb:23:in
password_reset'
app/models/user.rb:77:in send_password_reset_email'
app/controllers/password_resets_controller.rb:12:in
create'
test/integration/password_resets_test.rb:16:in `block in <class:PasswordResetsTest>'

E 73/8: [====== ] 10% Time: 00:00:01, ETA: 00:00:13

Error:
PasswordResetsTest#test_password_resets:
ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"password_resets", :email=>"michael@example.com", :locale=>"p7P3o8M-d_VXgEykt3rWrg"}, missing required keys: [:id]
app/views/user_mailer/password_reset.html.erb:3:in _app_views_user_mailer_password_reset_html_erb__2892793465448012323_47351764993180'
app/mailers/user_mailer.rb:23:in
password_reset'
app/models/user.rb:77:in send_password_reset_email'
app/controllers/password_resets_controller.rb:12:in
create'
test/integration/password_resets_test.rb:16:in `block in <class:PasswordResetsTest>'

bin/rails test test/integration/password_resets_test.rb:8

ERROR["test_account_activation", UserMailerTest, 1.834073073999889]
test_account_activation#UserMailerTest (1.83s)
ActionView::Template::Error: ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"account_activations", :email=>"michael@example.com", :locale=>"f6cgY847Hf34socEGwA0pw"}, missing required keys: [:id]
app/views/user_mailer/account_activation.html.erb:6:in _app_views_user_mailer_account_activation_html_erb___4369598568387395160_47351770223940'
app/mailers/user_mailer.rb:12:in
account_activation'
test/mailers/user_mailer_test.rb:8:in `block in <class:UserMailerTest>'

E 73/9: [======== ] 12% Time: 00:00:01, ETA: 00:00:13

Error:
UserMailerTest#test_account_activation:
ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"account_activations", :email=>"michael@example.com", :locale=>"f6cgY847Hf34socEGwA0pw"}, missing required keys: [:id]
app/views/user_mailer/account_activation.html.erb:6:in _app_views_user_mailer_account_activation_html_erb___4369598568387395160_47351770223940'
app/mailers/user_mailer.rb:12:in
account_activation'
test/mailers/user_mailer_test.rb:8:in `block in <class:UserMailerTest>'

bin/rails test test/mailers/user_mailer_test.rb:4

ERROR["test_password_reset", UserMailerTest, 1.8435040619999654]
test_password_reset#UserMailerTest (1.84s)
ActionView::Template::Error: ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"password_resets", :email=>"michael@example.com", :locale=>"qUgUewVpi3_qhIoRjF1CtA"}, missing required keys: [:id]
app/views/user_mailer/password_reset.html.erb:3:in _app_views_user_mailer_password_reset_html_erb__2892793465448012323_47351764993180'
app/mailers/user_mailer.rb:23:in
password_reset'
test/mailers/user_mailer_test.rb:22:in `block in <class:UserMailerTest>'

E

Error:
UserMailerTest#test_password_reset:
ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"password_resets", :email=>"michael@example.com", :locale=>"qUgUewVpi3_qhIoRjF1CtA"}, missing required keys: [:id]
app/views/user_mailer/password_reset.html.erb:3:in _app_views_user_mailer_password_reset_html_erb__2892793465448012323_47351764993180'
app/mailers/user_mailer.rb:23:in
password_reset'
test/mailers/user_mailer_test.rb:22:in `block in <class:UserMailerTest>'

bin/rails test test/mailers/user_mailer_test.rb:18

ERROR["test_should_redirect_to_root_url_when_user_not_activated", UsersShowTest, 1.8510671619999357]
test_should_redirect_to_root_url_when_user_not_activated#UsersShowTest (1.85s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"users", :locale=>#<User id: 198381282, name: "Inactive User", email: "inactive@example.com", created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11", password_digest: "$2a$04$sijxBB4ZXyPx6vzCTGdpbOxV.zERiuv.rj2eMaek2aj...", remember_digest: nil, admin: false, activation_digest: nil, activated: false, activated_at: nil, reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_show_test.rb:11:in `block in <class:UsersShowTest>'

E 73/11: [========== ] 15% Time: 00:00:01, ETA: 00:00:11

Error:
UsersShowTest#test_should_redirect_to_root_url_when_user_not_activated:
ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"users", :locale=>#<User id: 198381282, name: "Inactive User", email: "inactive@example.com", created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11", password_digest: "$2a$04$sijxBB4ZXyPx6vzCTGdpbOxV.zERiuv.rj2eMaek2aj...", remember_digest: nil, admin: false, activation_digest: nil, activated: false, activated_at: nil, reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_show_test.rb:11:in `block in <class:UsersShowTest>'

bin/rails test test/integration/users_show_test.rb:10

ERROR["test_should_display_user_when_activated", UsersShowTest, 1.8585490989999016]
test_should_display_user_when_activated#UsersShowTest (1.86s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"users", :locale=>#<User id: 950961012, name: "Sterling Archer", email: "duchess@example.gov", created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11", password_digest: "$2a$04$oJkhfnoV7ifUXb6mTYdIBuwktM71LBMq0pBIoMxEB5q...", remember_digest: nil, admin: false, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:47:11", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_show_test.rb:16:in `block in <class:UsersShowTest>'

E

Error:
UsersShowTest#test_should_display_user_when_activated:
ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"users", :locale=>#<User id: 950961012, name: "Sterling Archer", email: "duchess@example.gov", created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11", password_digest: "$2a$04$oJkhfnoV7ifUXb6mTYdIBuwktM71LBMq0pBIoMxEB5q...", remember_digest: nil, admin: false, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:47:11", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_show_test.rb:16:in `block in <class:UsersShowTest>'

bin/rails test test/integration/users_show_test.rb:15

ERROR["test_profile_display", UsersProfileTest, 1.9017859709999811]
test_profile_display#UsersProfileTest (1.90s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11", password_digest: "$2a$04$rBEHlmUgv3QRAck1xqWh8uV6KQbakiTiQ2YLkMzGdj/...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:47:11", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_profile_test.rb:8:in `block in <class:UsersProfileTest>'

E

Error:
UsersProfileTest#test_profile_display:
ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11", password_digest: "$2a$04$rBEHlmUgv3QRAck1xqWh8uV6KQbakiTiQ2YLkMzGdj/...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:47:11", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_profile_test.rb:8:in `block in <class:UsersProfileTest>'

bin/rails test test/integration/users_profile_test.rb:7

ERROR["test_test_profile_stats_on_home_page", UsersProfileTest, 1.9335710059999656]
test_test_profile_stats_on_home_page#UsersProfileTest (1.93s)
ActionController::RoutingError: ActionController::RoutingError: No route matches [GET] "/762146111"
test/integration/users_profile_test.rb:21:in `block in <class:UsersProfileTest>'

E 73/15: [============= ] 20% Time: 00:00:01, ETA: 00:00:08

Error:
UsersProfileTest#test_test_profile_stats_on_home_page:
ActionController::RoutingError: No route matches [GET] "/762146111"
test/integration/users_profile_test.rb:21:in `block in <class:UsersProfileTest>'

bin/rails test test/integration/users_profile_test.rb:19

ERROR["test_valid_signup_information_with_account_activation", UsersSignupTest, 2.0103037289998156]
test_valid_signup_information_with_account_activation#UsersSignupTest (2.01s)
ActionView::Template::Error: ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"account_activations", :email=>"user@example.com", :locale=>"TsdapqKGBo56ylYjrX90rA"}, missing required keys: [:id]
app/views/user_mailer/account_activation.html.erb:6:in _app_views_user_mailer_account_activation_html_erb___4369598568387395160_47351770223940'
app/mailers/user_mailer.rb:12:in
account_activation'
app/models/user.rb:65:in send_activation_email'
app/controllers/users_controller.rb:24:in
create'
test/integration/users_signup_test.rb:20:in block (2 levels) in &lt;class:UsersSignupTest&gt;'
test/integration/users_signup_test.rb:19:in
block in <class:UsersSignupTest>'

E 73/17: [=============== ] 23% Time: 00:00:02, ETA: 00:00:07

Error:
UsersSignupTest#test_valid_signup_information_with_account_activation:
ActionView::Template::Error: No route matches {:action=>"edit", :controller=>"account_activations", :email=>"user@example.com", :locale=>"TsdapqKGBo56ylYjrX90rA"}, missing required keys: [:id]
app/views/user_mailer/account_activation.html.erb:6:in _app_views_user_mailer_account_activation_html_erb___4369598568387395160_47351770223940'
app/mailers/user_mailer.rb:12:in
account_activation'
app/models/user.rb:65:in send_activation_email'
app/controllers/users_controller.rb:24:in
create'
test/integration/users_signup_test.rb:20:in block (2 levels) in &lt;class:UsersSignupTest&gt;'
test/integration/users_signup_test.rb:19:in
block in <class:UsersSignupTest>'

bin/rails test test/integration/users_signup_test.rb:17

ERROR["test_successful_edit_with_friendly_forwarding", UsersEditTest, 2.0155774129998463]
test_successful_edit_with_friendly_forwarding#UsersEditTest (2.02s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"edit", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11", password_digest: "$2a$04$rBEHlmUgv3QRAck1xqWh8uV6KQbakiTiQ2YLkMzGdj/...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:47:11", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_edit_test.rb:37:in `block in <class:UsersEditTest>'

E

Error:
UsersEditTest#test_successful_edit_with_friendly_forwarding:
ActionController::UrlGenerationError: No route matches {:action=>"edit", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11", password_digest: "$2a$04$rBEHlmUgv3QRAck1xqWh8uV6KQbakiTiQ2YLkMzGdj/...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:47:11", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_edit_test.rb:37:in `block in <class:UsersEditTest>'

bin/rails test test/integration/users_edit_test.rb:36

ERROR["test_friendly_forwarding_is_disabled_on_consecutive_logins", UsersEditTest, 2.0306379639998795]
test_friendly_forwarding_is_disabled_on_consecutive_logins#UsersEditTest (2.03s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"edit", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11", password_digest: "$2a$04$rBEHlmUgv3QRAck1xqWh8uV6KQbakiTiQ2YLkMzGdj/...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:47:11", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_edit_test.rb:55:in `block in <class:UsersEditTest>'

E 73/19: [================= ] 26% Time: 00:00:02, ETA: 00:00:06

Error:
UsersEditTest#test_friendly_forwarding_is_disabled_on_consecutive_logins:
ActionController::UrlGenerationError: No route matches {:action=>"edit", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11", password_digest: "$2a$04$rBEHlmUgv3QRAck1xqWh8uV6KQbakiTiQ2YLkMzGdj/...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:47:11", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/integration/users_edit_test.rb:55:in `block in <class:UsersEditTest>'

bin/rails test test/integration/users_edit_test.rb:54

. 73/22: [==================== ] 30% Time: 00:00:02, ETA: 00:00:0. 73/23: [===================== ] 31% Time: 00:00:02, ETA: 00:00:0.. 73/25: [======================= ] 34% Time: 00:00:02, ETA: 00:00:.. 73/27: [======================== ] 36% Time: 00:00:02, ETA: 00:00:. 73/28: [========================= ] 38% Time: 00:00:02, ETA: 00:00:0. 73/29: [========================== ] 39% Time: 00:00:02, ETA: 00:00:0.. 73/31: [============================ ] 42% Time: 00:00:02, ETA: 00:00:. 73/32: [============================= ] 43% Time: 00:00:02, ETA: 00:00:0. 73/33: [============================== ] 45% Time: 00:00:02, ETA: 00:00:0. 73/34: [=============================== ] 46% Time: 00:00:02, ETA: 00:00:0. 73/35: [=============================== ] 47% Time: 00:00:02, ETA: 00:00:0.. 73/37: [================================== ] 50% Time: 00:00:02, ETA: 00:00:.. 73/39: [==================================== ] 53% Time: 00:00:02, ETA: 00:00:. 73/40: [==================================== ] 54% Time: 00:00:02, ETA: 00:00:0. 73/41: [====================================== ] 56% Time: 00:00:02, ETA: 00:00:0. 73/42: [====================================== ] 57% Time: 00:00:02, ETA: 00:00:0. 73/43: [======================================= ] 58% Time: 00:00:02, ETA: 00:00:0. 73/44: [======================================== ] 60% Time: 00:00:02, ETA: 00:00:0. 73/45: [========================================= ] 61% Time: 00:00:03, ETA: 00:00:0. 73/46: [========================================== ] 63% Time: 00:00:03, ETA: 00:00:0. 73/47: [=========================================== ] 64% Time: 00:00:03, ETA: 00:00:0. 73/48: [============================================ ] 65% Time: 00:00:03, ETA: 00:00:0. 73/49: [============================================= ] 67% Time: 00:00:03, ETA: 00:00:0ERROR["test_should_redirect_following_when_not_logged_in", UsersControllerTest, 3.327651117999949]
test_should_redirect_following_when_not_logged_in#UsersControllerTest (3.33s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"following", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11", password_digest: "$2a$04$rBEHlmUgv3QRAck1xqWh8uV6KQbakiTiQ2YLkMzGdj/...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:47:11", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/controllers/users_controller_test.rb:47:in `block in <class:UsersControllerTest>'

E 73/49: [============================================= ] 67% Time: 00:00:03, ETA: 00:00:02

Error:
UsersControllerTest#test_should_redirect_following_when_not_logged_in:
ActionController::UrlGenerationError: No route matches {:action=>"following", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11", password_digest: "$2a$04$rBEHlmUgv3QRAck1xqWh8uV6KQbakiTiQ2YLkMzGdj/...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:47:11", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/controllers/users_controller_test.rb:47:in `block in <class:UsersControllerTest>'

bin/rails test test/controllers/users_controller_test.rb:46

ERROR["test_should_redirect_followers_when_not_logged_in", UsersControllerTest, 3.3336275609999575]
test_should_redirect_followers_when_not_logged_in#UsersControllerTest (3.33s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"followers", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11", password_digest: "$2a$04$rBEHlmUgv3QRAck1xqWh8uV6KQbakiTiQ2YLkMzGdj/...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:47:11", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/controllers/users_controller_test.rb:52:in `block in <class:UsersControllerTest>'

E

Error:
UsersControllerTest#test_should_redirect_followers_when_not_logged_in:
ActionController::UrlGenerationError: No route matches {:action=>"followers", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11", password_digest: "$2a$04$rBEHlmUgv3QRAck1xqWh8uV6KQbakiTiQ2YLkMzGdj/...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:47:11", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/controllers/users_controller_test.rb:52:in `block in <class:UsersControllerTest>'

bin/rails test test/controllers/users_controller_test.rb:51

ERROR["test_should_redirect_update_when_not_logged_in", UsersControllerTest, 3.361755330999813]
test_should_redirect_update_when_not_logged_in#UsersControllerTest (3.36s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11", password_digest: "$2a$04$rBEHlmUgv3QRAck1xqWh8uV6KQbakiTiQ2YLkMzGdj/...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:47:11", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/controllers/users_controller_test.rb:21:in `block in <class:UsersControllerTest>'

E

Error:
UsersControllerTest#test_should_redirect_update_when_not_logged_in:
ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11", password_digest: "$2a$04$rBEHlmUgv3QRAck1xqWh8uV6KQbakiTiQ2YLkMzGdj/...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:47:11", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/controllers/users_controller_test.rb:21:in `block in <class:UsersControllerTest>'

bin/rails test test/controllers/users_controller_test.rb:20

ERROR["test_should_redirect_edit_when_not_logged_in", UsersControllerTest, 3.3670900209999672]
test_should_redirect_edit_when_not_logged_in#UsersControllerTest (3.37s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"edit", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11", password_digest: "$2a$04$rBEHlmUgv3QRAck1xqWh8uV6KQbakiTiQ2YLkMzGdj/...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:47:11", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/controllers/users_controller_test.rb:15:in `block in <class:UsersControllerTest>'

E 73/53: [================================================ ] 72% Time: 00:00:03, ETA: 00:00:01

Error:
UsersControllerTest#test_should_redirect_edit_when_not_logged_in:
ActionController::UrlGenerationError: No route matches {:action=>"edit", :controller=>"users", :locale=>#<User id: 762146111, name: "Michael Example", email: "michael@example.com", created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11", password_digest: "$2a$04$rBEHlmUgv3QRAck1xqWh8uV6KQbakiTiQ2YLkMzGdj/...", remember_digest: nil, admin: true, activation_digest: nil, activated: true, activated_at: "2018-06-24 21:47:11", reset_digest: nil, reset_sent_at: nil>}, missing required keys: [:id]
test/controllers/users_controller_test.rb:15:in `block in <class:UsersControllerTest>'

bin/rails test test/controllers/users_controller_test.rb:14

ERROR["test_destroy_should_require_logged-in_user", RelationshipsControllerTest, 3.3835652010000103]
test_destroy_should_require_logged-in_user#RelationshipsControllerTest (3.38s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"destroy", :controller=>"relationships", :locale=>#<Relationship id: 980190962, follower_id: 762146111, followed_id: 409608538, created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11">}, missing required keys: [:id]
test/controllers/relationships_controller_test.rb:11:in block (2 levels) in &lt;class:RelationshipsControllerTest&gt;'
test/controllers/relationships_controller_test.rb:10:in
block in <class:RelationshipsControllerTest>'

E

Error:
RelationshipsControllerTest#test_destroy_should_require_logged-in_user:
ActionController::UrlGenerationError: No route matches {:action=>"destroy", :controller=>"relationships", :locale=>#<Relationship id: 980190962, follower_id: 762146111, followed_id: 409608538, created_at: "2018-06-24 21:47:11", updated_at: "2018-06-24 21:47:11">}, missing required keys: [:id]
test/controllers/relationships_controller_test.rb:11:in block (2 levels) in &lt;class:RelationshipsControllerTest&gt;'
test/controllers/relationships_controller_test.rb:10:in
block in <class:RelationshipsControllerTest>'

bin/rails test test/controllers/relationships_controller_test.rb:9

. 73/58: [===================================================== ] 79% Time: 00:00:03, ETA: 00:00:0. 73/59: [====================================================== ] 80% Time: 00:00:03, ETA: 00:00:0. 73/60: [======================================================= ] 82% Time: 00:00:03, ETA: 00:00:0. 73/61: [======================================================== ] 83% Time: 00:00:03, ETA: 00:00:0. 73/62: [========================================================= ] 84% Time: 00:00:03, ETA: 00:00:0. 73/63: [========================================================== ] 86% Time: 00:00:03, ETA: 00:00:0. 73/64: [=========================================================== ] 87% Time: 00:00:03, ETA: 00:00:0ERROR["test_should_redirect_destroy_when_not_logged_in", MicropostsControllerTest, 3.6898635479999484]
test_should_redirect_destroy_when_not_logged_in#MicropostsControllerTest (3.69s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches {:action=>"destroy", :controller=>"microposts", :locale=>#<Micropost id: 499495288, content: "I just ate an orange!", user_id: 762146111, created_at: "2018-06-24 21:37:10", updated_at: "2018-06-24 21:47:11", picture: nil>}, missing required keys: [:id]
test/controllers/microposts_controller_test.rb:17:in block (2 levels) in &lt;class:MicropostsControllerTest&gt;'
test/controllers/microposts_controller_test.rb:16:in
block in <class:MicropostsControllerTest>'

E

Error:
MicropostsControllerTest#test_should_redirect_destroy_when_not_logged_in:
ActionController::UrlGenerationError: No route matches {:action=>"destroy", :controller=>"microposts", :locale=>#<Micropost id: 499495288, content: "I just ate an orange!", user_id: 762146111, created_at: "2018-06-24 21:37:10", updated_at: "2018-06-24 21:47:11", picture: nil>}, missing required keys: [:id]
test/controllers/microposts_controller_test.rb:17:in block (2 levels) in &lt;class:MicropostsControllerTest&gt;'
test/controllers/microposts_controller_test.rb:16:in
block in <class:MicropostsControllerTest>'

bin/rails test test/controllers/microposts_controller_test.rb:15

. 73/67: [============================================================= ] 91% Time: 00:00:03, ETA: 00:00:0. 73/68: [=============================================================== ] 93% Time: 00:00:04, ETA: 00:00:0. 73/69: [=============================================================== ] 94% Time: 00:00:04, ETA: 00:00:0. 73/70: [================================================================ ] 95% Time: 00:00:04, ETA: 00:00:0. 73/71: [================================================================= ] 97% Time: 00:00:04, ETA: 00:00:0. 73/72: [================================================================== ] 98% Time: 00:00:04, ETA: 00:00:0. 73/73: [===================================================================] 100% Time: 00:00:04, Time: 00:00:04
.
Finished in 4.73062s
73 tests, 266 assertions, 0 failures, 18 errors, 0 skips

Finished in 4.780022s, 15.2719 runs/s, 55.6483 assertions/s.
73 runs, 266 assertions, 0 failures, 18 errors, 0 skips

Posted in i18n + Minitest

I have a complete rails application with Tests (Minitest 100% coverage)

I'm trying to use i18n in this app, as told  in http://guides.rubyonrails.org/i18n.html , taking the locale from the url ( http://localhost:3000/nl/ ).
It works ok, but I'm having problem with the integration tests, because the http requests don't find the locale .
The project is at : https://bitbucket.org/tolbier/sample_app_railstutorial/src/i18n/

'rails test' to execute the tests