From 919676674f752892b21db1c42d24035801b02af5 Mon Sep 17 00:00:00 2001 From: Tom Lord Date: Sun, 8 Mar 2015 13:27:28 +0000 Subject: [PATCH] Test for random_example with OrGroup Missing test area for 100% coverage --- spec/regexp-random_example_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/regexp-random_example_spec.rb b/spec/regexp-random_example_spec.rb index 62001da..5e6a229 100644 --- a/spec/regexp-random_example_spec.rb +++ b/spec/regexp-random_example_spec.rb @@ -16,7 +16,8 @@ def self.random_example_matches(*regexps) random_example_matches( /\w{10}/, /(we(need(to(go(deeper)?)?)?)?) \1/, - /case insensitive/i + /case insensitive/i, + /front seat|back seat/, # Which seat will I take?? ) end end