From 92be2a3fcdcb6c7003742bc446fa3516e6a74817 Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Wed, 20 Mar 2013 19:53:38 +0100 Subject: [PATCH] fix test for new autosync --- spec/integration/v2/users_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/integration/v2/users_spec.rb b/spec/integration/v2/users_spec.rb index 739ebc43..1653227e 100644 --- a/spec/integration/v2/users_spec.rb +++ b/spec/integration/v2/users_spec.rb @@ -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