Skip to content

Commit

Permalink
properly names the describe
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfloyd committed Apr 6, 2023
1 parent d73eaf1 commit 4da20d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/octokit/error_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# given the nature of this method and the fact that it is meant to keep secrets out of logs.
# In this case, it is worth it and will help us know if something changes in this area.
describe Octokit::Error do
describe '.build_error_message' do
describe '.redact_url' do
it 'redacts api_key' do
url = 'http://127.0.0.1:8989/setup/api/settings?api_key=++++THIS+IS+A+SECRET++++&settings=certificate%22%2C%22key%22%3A%22++++THIS+IS+A+SECRET+AS+WELL++++%22%7D%7D'.dup
error = Octokit::Error.new
Expand Down

0 comments on commit 4da20d1

Please sign in to comment.