We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87a624e commit 0ff4a31Copy full SHA for 0ff4a31
spec/influxdb/client_spec.rb
@@ -47,7 +47,7 @@
47
it "escapes params" do
48
url = subject.send(:full_url, "/unknown", value: ' !@#$%^&*()/\\_+-=?|`~')
49
encoded_fragment = "value=+%21%40%23%24%25%5E%26%2A%28%29%2F%5C_%2B-%3D%3F%7C%60"
50
- encoded_fragment << (RUBY_ENGINE == "ruby" && RUBY_VERSION >= "2.5.0" ? "~" : "%7E")
+ encoded_fragment << (RUBY_VERSION >= "2.5.0" ? "~" : "%7E")
51
expect(url).to include(encoded_fragment)
52
end
53
0 commit comments