diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-08 14:26:43 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-08 14:26:43 -0800 |
commit | 08c9cb4cabab648d90e6fcf055f1143fbbc994e8 (patch) | |
tree | cf02a2ba1eb4fe1c011ef2c2b37e884c13efa900 /spec/features/users_spec.rb | |
parent | 939c046a9872c1d7c38d73dc08860681ecebd1f1 (diff) | |
download | gitlab-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.rb | 2 |
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 |