Commit 39de264

mokha <mokha@cisco.com>
2019-05-21 23:50:37
use parse_with_debug for better error messaging
1 parent 310c6d4
Changed files (1)
spec
scim
spec/scim/kit/v2/filter_spec.rb
@@ -150,7 +150,7 @@ RSpec.describe Scim::Kit::V2::Filter do
     %(userType eq "Employee" and (emails co "example.com" or emails.value co "example.org")),
     %(userType eq "Employee" and (emails.type eq "work"))
   ].each do |x|
-    specify { expect(subject).to parse(x) }
+    specify { expect(subject.parse_with_debug(x)).to be_truthy }
   end
 
   [