Skip to content
Snippets Groups Projects
Commit 80db9e96 authored by Monica Cellio's avatar Monica Cellio
Browse files

rubocop

parent 4b72f57c
Branches
Tags
No related merge requests found
......@@ -135,8 +135,7 @@ class UsersControllerTest < ActionController::TestCase
patch :update_profile, params: {
user: { user_websites_attributes: {
'0': { label: 'web', url: 'example.com' }
}
}
} }
}
assert_not_nil assigns(:user).user_websites
assert_equal 'web', assigns(:user).user_websites.first.label
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment