From c23e1f3d4110d57a6756042e13749ad55086d9b9 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 24 Jul 2014 12:48:47 +0300 Subject: [PATCH] Fix test Signed-off-by: Dmitriy Zaporozhets --- spec/lib/gitlab/satellite/action_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/lib/gitlab/satellite/action_spec.rb b/spec/lib/gitlab/satellite/action_spec.rb index 9ec0d6aad8c..0622caf1e3b 100644 --- a/spec/lib/gitlab/satellite/action_spec.rb +++ b/spec/lib/gitlab/satellite/action_spec.rb @@ -6,8 +6,7 @@ describe 'Gitlab::Satellite::Action' do describe '#prepare_satellite!' do it 'should be able to fetch timeout from conf' do - Gitlab.config.satellites.timeout = 30 - DEFAULT_OPTIONS['git_timeout'].should == 30.seconds + Gitlab::Satellite::Action::DEFAULT_OPTIONS[:git_timeout].should == 30.seconds end it 'create a repository with a parking branch and one remote: origin' do