Skip to content

Commit

Permalink
Tweak wording of spec for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinjo committed Jan 9, 2022
1 parent ae419d2 commit 69732ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/prometheus/client/push_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
expect(push.path).to eql('/metrics/job/test-job/foo@base64/=')
end

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

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

0 comments on commit 69732ba

Please sign in to comment.