Skip to content

Commit

Permalink
spec: rollback rubocop autocorrection
Browse files Browse the repository at this point in the history
  • Loading branch information
wbotelhos committed Jan 25, 2024
1 parent 44451f3 commit 72de00b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion spec/factories/comment.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# frozen_string_literal: true

FactoryBot.define do
factory :comment
factory :comment do
end
end
4 changes: 2 additions & 2 deletions spec/factories/rating/rate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
factory :rating_rate, class: 'Rating::Rate' do
value { 100 }

author
resource
author { FactoryBot.build(:author) }
resource { FactoryBot.build(:article) }
end
end
2 changes: 1 addition & 1 deletion spec/factories/rating/rating.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
sum { 100 }
total { 1 }

resource factory: %i[article], strategy: :build
resource { FactoryBot.build(:article) }
end
end

0 comments on commit 72de00b

Please sign in to comment.