Commit f55b629

mokha <mokha@cisco.com>
2019-01-08 16:55:31
add a pending spec
1 parent fa341a0
Changed files (1)
spec
spec/scim/kit/v2/attribute_spec.rb
@@ -192,5 +192,9 @@ RSpec.describe Scim::Kit::V2::Attribute do
 
     specify { expect(subject._value).to match_array([{ value: email, primary: true }, { value: other_email, primary: false }]) }
     specify { expect(subject.as_json[:emails]).to match_array([{ value: email, primary: true }, { value: other_email, primary: false }]) }
+
+    context "when the hash is invalid" do
+      xspecify { expect { subject._value = [ { blah: 'blah' } ] }.to raise_error(ArgumentError) }
+    end
   end
 end