summaryrefslogtreecommitdiff
path: root/spec/views
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-09-23 16:26:15 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-09-23 16:28:51 -0400
commitbe142e6bd687d223dd4a543295d18676f408b7e3 (patch)
tree3b85972eadbe88aecff9237b73757ce78d5e9de8 /spec/views
parent48cfad9013f1aa4745bf2b07bfd07e34724ba037 (diff)
downloadgitlab-ce-be142e6bd687d223dd4a543295d18676f408b7e3.tar.gz
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