summaryrefslogtreecommitdiff
path: root/qa/qa/specs/helpers/context_selector.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/specs/helpers/context_selector.rb')
-rw-r--r--qa/qa/specs/helpers/context_selector.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/specs/helpers/context_selector.rb b/qa/qa/specs/helpers/context_selector.rb
index 57665babf68..9ac79ad6196 100644
--- a/qa/qa/specs/helpers/context_selector.rb
+++ b/qa/qa/specs/helpers/context_selector.rb
@@ -45,11 +45,11 @@ module QA
opts[:subdomain] = case option[:subdomain]
when Array
- "(#{option[:subdomain].join("|")})."
+ "(#{option[:subdomain].join("|")})\\."
when Regexp
option[:subdomain]
else
- "(#{option[:subdomain]})."
+ "(#{option[:subdomain]})\\."
end
end
end