Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-09 01:26:43 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-09 01:26:43 +0300
commit08c9cb4cabab648d90e6fcf055f1143fbbc994e8 (patch)
treecf02a2ba1eb4fe1c011ef2c2b37e884c13efa900 /spec/features/users_spec.rb
parent939c046a9872c1d7c38d73dc08860681ecebd1f1 (diff)
Finally fix stuff related to dynamic config
Diffstat (limited to 'spec/features/users_spec.rb')
-rw-r--r--spec/features/users_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/users_spec.rb b/spec/features/users_spec.rb
index a1206989d39..e2b631001c9 100644
--- a/spec/features/users_spec.rb
+++ b/spec/features/users_spec.rb
@@ -3,7 +3,7 @@ require 'spec_helper'
describe 'Users', feature: true do
describe "GET /users/sign_up" do
before do
- Gitlab.config.gitlab.stub(:signup_enabled).and_return(true)
+ ApplicationSetting.any_instance.stub(signup_enabled?: true)
end
it "should create a new user account" do