decidim / decidim-bulletin-board

GNU Affero General Public License v3.0
5 stars 6 forks source link

Clarify example groups description in JwkUtils spec #226

Closed andreslucena closed 2 years ago

andreslucena commented 2 years ago

We have a linter error regarding the RSpec/RepeatedExampleGroupDescription rubocop rule in CI.

This PR fixes it.

Stacktrace

Run bundle exec rubocop -P
Inspecting 48 files
.......................................C........

Offenses:

spec/decidim/bulletin_board/jwk_utils_spec.rb:29:3: C: RSpec/RepeatedExampleGroupDescription: Repeated context block description on line(s) [44]
  context "when working with a private key" do ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
spec/decidim/bulletin_board/jwk_utils_spec.rb:44:3: C: RSpec/RepeatedExampleGroupDescription: Repeated context block description on line(s) [29]
  context "when working with a private key" do ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

48 files inspected, 2 offenses detected, 2 offenses auto-correctable
Error: Process completed with exit code 1.