Skip to content

Commit 3d90368

Browse files
authored
Corrected some RuboCop glitches. (#22)
Signed-off-by: Hermann Mayer <[email protected]>
1 parent e348952 commit 3d90368

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### next
22

3-
* TODO: Replace this bullet point with an actual description of a change.
3+
* Corrected some RuboCop glitches (#21)
44

55
### 2.8.1 (21 May 2025)
66

spec/grape/jwt/grape_usage_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,13 @@ class API < Grape::API
152152
end
153153
end
154154

155-
include_examples 'api'
155+
it_behaves_like 'api'
156156
end
157157

158158
context 'with API-local configuration' do
159159
let(:app) { TestLocalConfiguration::API }
160160

161-
include_examples 'api'
161+
it_behaves_like 'api'
162162
end
163163
end
164164
# rubocop:enable RSpec/DescribeClass

spec/support/suite_context.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# frozen_string_literal: true
22

33
# Print some information
4+
#
5+
# rubocop:disable Rails/Output -- because we want to write to stdout here
46
puts
57
puts <<DESC
68
-------------- Versions --------------
@@ -9,3 +11,4 @@
911
--------------------------------------
1012
DESC
1113
puts
14+
# rubocop:enable Rails/Output

0 commit comments

Comments
 (0)