Add FactoryBot/ConsistentParenthesesStyle rule
This rule was added in rubocop-rspec 2.14.0. We were already applying it most of the time.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
require "rails_helper"
|
||||
|
||||
describe Dashboard::ExecutedAction do
|
||||
let(:proposal) { create :proposal }
|
||||
let(:action) { create :dashboard_action, request_to_administrators: true }
|
||||
let(:proposal) { create(:proposal) }
|
||||
let(:action) { create(:dashboard_action, request_to_administrators: true) }
|
||||
|
||||
it "is invalid when proposal is nil" do
|
||||
action = build(:dashboard_executed_action, proposal: nil)
|
||||
|
||||
Reference in New Issue
Block a user