fix test for new autosync

This commit is contained in:
Konstantin Haase 2013-03-20 19:53:38 +01:00
parent 268b02db50
commit 92be2a3fcd

View File

@ -17,6 +17,7 @@ describe 'Users' do
context 'POST /users/sync' do
it 'syncs current_user repos' do
user.update_attribute :is_syncing, false
response = post "/users/sync", {}, headers
response.should be_successful
end