Skip to content

Commit

Permalink
Merge pull request #116 from SonicGarden/dev
Browse files Browse the repository at this point in the history
[review] default設定見直し
  • Loading branch information
aki77 authored Oct 14, 2022
2 parents c91c205 + 24536d5 commit 9f1e393
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sgcop/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Sgcop
VERSION = '0.7.3'.freeze
VERSION = '0.7.4'.freeze
end
12 changes: 12 additions & 0 deletions rails/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,20 @@ Style/IpAddresses:
# ============================================================
# RSpec
# ============================================================
RSpec:
Language:
# RSpec/NoExpectationExample ルールに影響する
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecnoexpectationexample
Expectations:
- assert_emails
- assert_enqueued_emails
- assert_no_emails
- assert_enqueued_jobs
- assert_no_enqueued_jobs

# backgroundとかであるクラスの全インスタンスをstubしてるなど意図してやると思うので
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecanyinstance

RSpec/AnyInstance:
Enabled: false

Expand Down

0 comments on commit 9f1e393

Please sign in to comment.