summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2022-05-13 14:55:01 -0600
committermo khan <mo@mokhan.ca>2022-05-13 14:55:01 -0600
commitf51039a850e0f40d853a0822b05dba3dac05aa7a (patch)
tree83109f62fcaf3a7734b42e9a14edbe5455479c8c
parent9470f7c84e2fe8f38c094742e5f235d59c79d83b (diff)
test: update tests to match string data type
-rw-r--r--spec/scim/kit/v2/error_spec.rb2
-rw-r--r--spec/scim/kit/v2/resource_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/scim/kit/v2/error_spec.rb b/spec/scim/kit/v2/error_spec.rb
index b1fd169..85e8862 100644
--- a/spec/scim/kit/v2/error_spec.rb
+++ b/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
diff --git a/spec/scim/kit/v2/resource_spec.rb b/spec/scim/kit/v2/resource_spec.rb
index 7d5007b..10d1bcc 100644
--- a/spec/scim/kit/v2/resource_spec.rb
+++ b/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