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:
Javi Martín
2023-08-29 19:59:56 +02:00
parent 2d4ff86837
commit 8e276e2891
24 changed files with 104 additions and 101 deletions

View File

@@ -7,12 +7,12 @@ describe Ahoy::DataSource do
time_2 = Time.zone.local(2015, 01, 02)
time_3 = Time.zone.local(2015, 01, 03)
create :ahoy_event, name: "foo", time: time_1
create :ahoy_event, name: "foo", time: time_1
create :ahoy_event, name: "foo", time: time_2
create :ahoy_event, name: "bar", time: time_1
create :ahoy_event, name: "bar", time: time_3
create :ahoy_event, name: "bar", time: time_3
create(:ahoy_event, name: "foo", time: time_1)
create(:ahoy_event, name: "foo", time: time_1)
create(:ahoy_event, name: "foo", time: time_2)
create(:ahoy_event, name: "bar", time: time_1)
create(:ahoy_event, name: "bar", time: time_3)
create(:ahoy_event, name: "bar", time: time_3)
end
it "works without data sources" do