Commit f51039a
Changed files (2)
spec
scim
kit
spec/scim/kit/v2/error_spec.rb
@@ -12,5 +12,5 @@ RSpec.describe Scim::Kit::V2::Error do
specify { expect(subject.to_h[:schemas]).to match_array([Scim::Kit::V2::Messages::ERROR]) }
specify { expect(subject.to_h[:scimType]).to eql('invalidSyntax') }
specify { expect(subject.to_h[:detail]).to eql('error') }
- specify { expect(subject.to_h[:status]).to be(400) }
+ specify { expect(subject.to_h[:status]).to eql('400') }
end
spec/scim/kit/v2/resource_spec.rb
@@ -590,6 +590,6 @@ RSpec.describe Scim::Kit::V2::Resource do
specify { expect(subject.to_h[:schemas]).to match_array([Scim::Kit::V2::Messages::ERROR]) }
specify { expect(subject.to_h[:scimType]).to eql('invalidSyntax') }
specify { expect(subject.to_h[:detail]).to eql('error') }
- specify { expect(subject.to_h[:status]).to be(400) }
+ specify { expect(subject.to_h[:status]).to eql('400') }
end
end