diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-08-06 12:52:10 +0300 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-08-06 14:33:07 +0300 |
commit | baffe82ace1ca3ee247c1eee2a5c21aea2256539 (patch) | |
tree | f8463f91103e7c8ac7809924c8978cf866b374dd /spec/features | |
parent | 0f871450cd3e77b0a94769a12d2d100a6d093e2c (diff) |
Hide instance statistics on new installations
Making the migrations and the default do the right thing in the first
place. This makes 20180806094307 a no-op.
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/dashboard/active_tab_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/features/dashboard/active_tab_spec.rb b/spec/features/dashboard/active_tab_spec.rb index f4d0f82d248..a7d86bd4560 100644 --- a/spec/features/dashboard/active_tab_spec.rb +++ b/spec/features/dashboard/active_tab_spec.rb @@ -35,6 +35,10 @@ RSpec.describe 'Dashboard Active Tab', :js do context 'on instance statistics' do subject { visit instance_statistics_root_path } + before do + stub_application_setting(instance_statistics_visibility_private: false) + end + it 'shows Instance Statistics` as active' do subject |