diff --git a/lib/sgcop/version.rb b/lib/sgcop/version.rb index a517105..1bccd14 100644 --- a/lib/sgcop/version.rb +++ b/lib/sgcop/version.rb @@ -1,3 +1,3 @@ module Sgcop - VERSION = '0.7.3'.freeze + VERSION = '0.7.4'.freeze end diff --git a/rails/rubocop.yml b/rails/rubocop.yml index 975b10d..44e0a81 100644 --- a/rails/rubocop.yml +++ b/rails/rubocop.yml @@ -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