Skip to content

Commit

Permalink
chore: fix rubocop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosgz committed Jul 4, 2024
1 parent 01a2bfe commit 109391c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/esse/active_record/model_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
_id: county.id,
name: county.name,
type: 'county',
routing: (county.state_id || 1),
routing: county.state_id || 1,
}.tap do |doc|
doc[:state] = { id: county.state.id, name: county.state.name } if county.state
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require 'spec_helper'

RSpec.describe Esse::Plugins::ActiveRecord, '.collection' do
RSpec.describe Esse::Plugins::ActiveRecord, '.collection' do # rubocop:disable RSpec/SpecFilePathFormat
describe 'index collection definition' do
context 'when the type is a model class' do
it 'define collection with only class name without raise an error' do
Expand Down

0 comments on commit 109391c

Please sign in to comment.