tests: fixup tests.
This commit is contained in:
@@ -87,7 +87,7 @@ class UsersControllerTest < ActionDispatch::IntegrationTest
|
||||
get_auth profile_path, @user, as: :json
|
||||
assert_response :success
|
||||
|
||||
assert_equal(@user.upload_limit, response.parsed_body["upload_limit"])
|
||||
assert_equal(@user.comment_count, response.parsed_body["comment_count"])
|
||||
end
|
||||
|
||||
should "redirect anonymous users to the sign in page" do
|
||||
|
||||
Reference in New Issue
Block a user