From 001f3bc59ef34752b98ab405fde2520b15eff51c Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Wed, 10 Apr 2013 23:28:42 +0300 Subject: Specs refactoring to reduce test time. Disabled observers by default for specs --- spec/requests/api/milestones_spec.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'spec/requests/api/milestones_spec.rb') diff --git a/spec/requests/api/milestones_spec.rb b/spec/requests/api/milestones_spec.rb index c379e8a5307..c9a10417fff 100644 --- a/spec/requests/api/milestones_spec.rb +++ b/spec/requests/api/milestones_spec.rb @@ -2,6 +2,7 @@ require 'spec_helper' describe Gitlab::API do include ApiHelpers + before(:each) { enable_observers } let(:user) { create(:user) } let!(:project) { create(:project, namespace: user.namespace ) } -- cgit v1.2.1