Commit 740b0c7a authored by Serena Fang's avatar Serena Fang

Remove blocked user

parent a1e42520
...@@ -2918,7 +2918,6 @@ RSpec.describe API::Users do ...@@ -2918,7 +2918,6 @@ RSpec.describe API::Users do
end end
context 'for a blocked user' do context 'for a blocked user' do
let(:blocked_user) { create(:user, :blocked) }
let(:user_id) { blocked_user.id } let(:user_id) { blocked_user.id }
it 'does not reject a blocked user' do it 'does not reject a blocked user' do
...@@ -3036,7 +3035,6 @@ RSpec.describe API::Users do ...@@ -3036,7 +3035,6 @@ RSpec.describe API::Users do
end end
context 'with a blocked user' do context 'with a blocked user' do
let(:blocked_user) { create(:user, state: 'blocked') }
let(:user_id) { blocked_user.id } let(:user_id) { blocked_user.id }
it 'unblocks a blocked user' do it 'unblocks a blocked user' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment