forked from ontoportal/sparql-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Since we're maintaining a forked/customized version of this library, it would be nice if we had a suite of unit tests we could run that ensures it's working as expected. Currently, typing bundle exec rspec results in 10 failures:
Finished in 1.68 seconds (files took 0.46246 seconds to load)
70 examples, 10 failures
Failed examples:
rspec ./spec/client_spec.rb:16 # SPARQL::Client when querying a remote endpoint should handle successful response with plain header
rspec ./spec/client_spec.rb:69 # SPARQL::Client when querying a remote endpoint should handle successful response with custom headers
rspec ./spec/client_spec.rb:75 # SPARQL::Client when querying a remote endpoint should handle successful response with initial custom headers
rspec ./spec/client_spec.rb:83 # SPARQL::Client when querying a remote endpoint should support international characters in response body
rspec ./spec/client_spec.rb:97 # SPARQL::Client when querying an RDF::Repository should query repository
rspec ./spec/query_spec.rb:65 # SPARQL::Client::Query when building SELECT queries should support COUNT
rspec ./spec/query_spec.rb:106 # SPARQL::Client::Query when building SELECT queries should support OPTIONAL
rspec ./spec/query_spec.rb:111 # SPARQL::Client::Query when building SELECT queries should support multiple OPTIONALs
rspec ./spec/update_spec.rb:57 # SPARQL::Client::Update when building INSERT DATA queries should support non-empty input
rspec ./spec/update_spec.rb:78 # SPARQL::Client::Update when building DELETE DATA queries should support non-empty input