Commit 3d141d15 authored by Douwe Maan's avatar Douwe Maan

Fix spec by removing global state.

parent afb765ad
...@@ -36,7 +36,6 @@ module Gitlab ...@@ -36,7 +36,6 @@ module Gitlab
end end
def address_regex def address_regex
@address_regex ||= begin
wildcard_address = config.address wildcard_address = config.address
return nil unless wildcard_address return nil unless wildcard_address
...@@ -46,5 +45,4 @@ module Gitlab ...@@ -46,5 +45,4 @@ module Gitlab
end end
end end
end end
end
end end
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