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:
authorRobert Speicher <rspeicher@gmail.com>2015-09-23 23:26:15 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-09-23 23:28:51 +0300
commitbe142e6bd687d223dd4a543295d18676f408b7e3 (patch)
tree3b85972eadbe88aecff9237b73757ce78d5e9de8 /spec/views
parent48cfad9013f1aa4745bf2b07bfd07e34724ba037 (diff)
Move the `version_check_enabled` check from view to helper
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/help/index.html.haml_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/views/help/index.html.haml_spec.rb b/spec/views/help/index.html.haml_spec.rb
index 4fd561428f6..91cf4cb98c0 100644
--- a/spec/views/help/index.html.haml_spec.rb
+++ b/spec/views/help/index.html.haml_spec.rb
@@ -49,7 +49,6 @@ describe 'help/index' do
def stub_helpers
allow(view).to receive(:markdown).and_return('')
- allow(view).to receive(:current_application_settings).
- and_return(double.as_null_object)
+ allow(view).to receive(:version_status_badge).and_return('')
end
end