summaryrefslogtreecommitdiff
path: root/spec/features/users_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-08 14:26:43 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-08 14:26:43 -0800
commit08c9cb4cabab648d90e6fcf055f1143fbbc994e8 (patch)
treecf02a2ba1eb4fe1c011ef2c2b37e884c13efa900 /spec/features/users_spec.rb
parent939c046a9872c1d7c38d73dc08860681ecebd1f1 (diff)
downloadgitlab-ce-08c9cb4cabab648d90e6fcf055f1143fbbc994e8.tar.gz
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