Skip to content

Commit c4962b4

Browse files
eliotjordandl-maura
andcommitted
Modified rubocop rules
Co-authored-by: Maura Carbone <maura_carbone@harvard.edu>
1 parent 718888a commit c4962b4

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ AllCops:
1111
Exclude:
1212
- 'geo_combine.gemspec'
1313
- 'tmp/**/*'
14+
15+
RSpec/DescribeClass:
16+
Enabled: false

.rubocop_todo.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,16 @@ RSpec/FilePath:
7878
Exclude:
7979
- 'spec/lib/geo_combine_spec.rb'
8080

81-
# Offense count: 23
8281
# Configuration parameters: .
8382
# SupportedStyles: have_received, receive
8483
RSpec/MessageSpies:
85-
EnforcedStyle: receive
84+
EnforcedStyle: have_received
85+
Exclude:
86+
- 'spec/lib/geo_combine/esri_open_data_spec.rb'
87+
- 'spec/lib/geo_combine/geo_blacklight_harvester_spec.rb'
88+
- 'spec/lib/geo_combine/geoblacklight_spec.rb'
89+
- 'spec/lib/geo_combine/ogp_spec.rb'
90+
- 'spec/lib/geo_combine_spec.rb'
8691

8792
# Offense count: 39
8893
RSpec/MultipleExpectations:

spec/lib/tasks/geo_combine_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
describe 'geocombine:clone' do
1212
before do
13-
WebMock.disable_net_connect!(allow_localhost: true)
13+
WebMock.disable_net_connect!
1414
end
1515

1616
after do

0 commit comments

Comments
 (0)