summaryrefslogtreecommitdiff
path: root/spec/lib/constraints/group_url_constrainer_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/constraints/group_url_constrainer_spec.rb')
-rw-r--r--spec/lib/constraints/group_url_constrainer_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/constraints/group_url_constrainer_spec.rb b/spec/lib/constraints/group_url_constrainer_spec.rb
index be69a36c2b6..42299b17c2b 100644
--- a/spec/lib/constraints/group_url_constrainer_spec.rb
+++ b/spec/lib/constraints/group_url_constrainer_spec.rb
@@ -14,6 +14,6 @@ describe GroupUrlConstrainer, lib: true do
end
def request(path)
- OpenStruct.new(path: path)
+ double(:request, path: path)
end
end