test/rest/base_test.rb in puree-2.6.0 vs test/rest/base_test.rb in puree-2.7.0

- old
+ new

@@ -11,21 +11,20 @@ # public interface. Exemplar resource is Person. # def test_post_request_collection params = { size: 3, - employmentTypeUri: ['/dk/atira/pure/person/employmenttypes/academic'], + employmentTypeUris: ['/dk/atira/pure/person/employmenttypes/academic'], employmentStatus: 'ACTIVE' } response = client.persons.all_complex params: params - # puts response assert_equal response.code, 200 assert_instance_of HTTP::Response, response end def test_collection_count params = { - employmentTypeUri: ['/dk/atira/pure/person/employmenttypes/academic'], + employmentTypeUris: ['/dk/atira/pure/person/employmenttypes/academic'], employmentStatus: 'ACTIVE' } extractor = Puree::Extractor::Person.new config count = extractor.count(params) assert_instance_of Integer, count \ No newline at end of file