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/profile_spec.rb | |
parent | 939c046a9872c1d7c38d73dc08860681ecebd1f1 (diff) | |
download | gitlab-ce-08c9cb4cabab648d90e6fcf055f1143fbbc994e8.tar.gz |
Finally fix stuff related to dynamic config
Diffstat (limited to 'spec/features/profile_spec.rb')
-rw-r--r-- | spec/features/profile_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/profile_spec.rb b/spec/features/profile_spec.rb index bdf7b59114b..4a76e89fd34 100644 --- a/spec/features/profile_spec.rb +++ b/spec/features/profile_spec.rb @@ -9,7 +9,7 @@ describe "Profile account page", feature: true do describe "when signup is enabled" do before do - Gitlab.config.gitlab.stub(:signup_enabled).and_return(true) + ApplicationSetting.any_instance.stub(signup_enabled?: true) visit profile_account_path end @@ -23,7 +23,7 @@ describe "Profile account page", feature: true do describe "when signup is disabled" do before do - Gitlab.config.gitlab.stub(:signup_enabled).and_return(false) + ApplicationSetting.any_instance.stub(signup_enabled?: false) visit profile_account_path end |