Skip to content

Commit 69732ba

Browse files
committed
Tweak wording of spec for clarity
1 parent ae419d2 commit 69732ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/prometheus/client/push_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
expect(push.path).to eql('/metrics/job/test-job/foo@base64/=')
112112
end
113113

114-
it 'escapes non-URL characters' do
114+
it 'URL-encodes all other non-URL-safe characters' do
115115
push = Prometheus::Client::Push.new(job: '<bar job>', grouping_key: { foo_label: '<bar value>' })
116116

117117
expected = '/metrics/job/%3Cbar%20job%3E/foo_label/%3Cbar%20value%3E'

0 commit comments

Comments
 (0)