mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
12 lines
285 B
Ruby
12 lines
285 B
Ruby
require 'test_helper'
|
|
|
|
class UsersControllerTest < ActionController::TestCase
|
|
test "should get user profile without error" do
|
|
test_user = User.create(email: 'test+test@test.test', password: 'testtesttest')
|
|
|
|
get :show, id: test_user.id
|
|
assert_response :success
|
|
end
|
|
|
|
end
|