We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e498fd commit 045df14Copy full SHA for 045df14
lib/patron.rb
@@ -21,8 +21,11 @@ def self.inst_roles_for(data)
21
end
22
23
24
- # have this return the valid patron or an invalid one.
25
def self.for(data)
+ if test_user?(data)
26
+ return Skipped.new(data: data, exclude_reasons: ["test_user"])
27
+ end
28
+
29
inst_roles = inst_roles_for(data)
30
exclude_reasons = []
31
inst_roles.each do |inst_role|
0 commit comments