Commit c25adfb

mokha <mokha@cisco.com>
2019-01-11 01:56:24
convert pending to running spec
1 parent 16c82a4
Changed files (1)
spec
spec/scim/kit/v2/attribute_spec.rb
@@ -224,10 +224,11 @@ RSpec.describe Scim::Kit::V2::Attribute do
     context 'when the hash is invalid' do
       before do
         subject._value = [{ blah: 'blah' }]
+        subject.valid?
       end
 
       specify { expect(subject).not_to be_valid }
-      xspecify { expect(subject.errors[:emails]).to be_present }
+      specify { expect(subject.errors[:emails]).to be_present }
     end
   end
 end