Commit 94ca71b4 authored by Valery Sizov's avatar Valery Sizov

fix specs

parent 43da5a26
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
%hr.clearfix %hr.clearfix
= form_for hook, as: :hook, url: polymorphic_path(url_components + [:hooks]), html: { class: 'form-horizontal' } do |f| = form_for hook, as: :hook, url: polymorphic_path(url_components + [:hooks]), html: { class: 'form-horizontal' } do |f|
= form_errors(@key) = form_errors(hook)
.form-group .form-group
= f.label :url, "URL", class: 'control-label' = f.label :url, "URL", class: 'control-label'
......
...@@ -94,7 +94,7 @@ module Gitlab ...@@ -94,7 +94,7 @@ module Gitlab
'redis://localhost:6379' 'redis://localhost:6379'
end end
Redis::Namespace.new(NAMESPACE, redis: Redis.new(url: redis_url_string)) ::Redis::Namespace.new(NAMESPACE, redis: ::Redis.new(url: redis_url_string))
end end
def self.redis def self.redis
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment