fix test for new autosync
This commit is contained in:
parent
268b02db50
commit
92be2a3fcd
|
@ -17,6 +17,7 @@ describe 'Users' do
|
||||||
|
|
||||||
context 'POST /users/sync' do
|
context 'POST /users/sync' do
|
||||||
it 'syncs current_user repos' do
|
it 'syncs current_user repos' do
|
||||||
|
user.update_attribute :is_syncing, false
|
||||||
response = post "/users/sync", {}, headers
|
response = post "/users/sync", {}, headers
|
||||||
response.should be_successful
|
response.should be_successful
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user