Skip to content
Snippets Groups Projects
Commit 85d75ab7 authored by Marcela Ribeiro de Oliveira's avatar Marcela Ribeiro de Oliveira
Browse files

updating users tests

parent 34657d98
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,7 @@
# user_category_id :integer
# score :float default("0.0")
# follows_count :integer default("0")
# description :text
#
class User < ApplicationRecord
......
......@@ -13,6 +13,7 @@ class V1::UsersControllerTest < ActionController::TestCase
post :create, params: { user: { name: 'mauricio',
email: 'testando@inf.ufpr.br',
password: 'test123455',
description: 'usuario super legal',
password_confirmation: 'test123455',
terms_of_service: '1' } }
assert_response :created
......@@ -31,6 +32,7 @@ class V1::UsersControllerTest < ActionController::TestCase
put :update, params: { user: { name: 'mauricio',
email: 'testando@inf.ufpr.br',
password: 'test123455',
description: 'sou legal',
password_confirmation: 'test123455',
terms_of_service: '1'
}, id: user.id }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment