Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running RSpec tests results in failures #2

Open
jvendetti opened this issue May 27, 2020 · 0 comments
Open

Running RSpec tests results in failures #2

jvendetti opened this issue May 27, 2020 · 0 comments

Comments

@jvendetti
Copy link
Member

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants