Skip to content

Commit

Permalink
Autocorrect rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Nov 6, 2023
1 parent 15268d0 commit 4dda614
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

RSpec.configure do |config|
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
config.fixture_path = "#{::Rails.root}/spec/fixtures"
config.fixture_path = Rails.root.join('spec/fixtures').to_s
config.include RightsXMLFixtures
# If you're not using ActiveRecord, or you'd prefer not to run each of your
# examples within a transaction, remove the following line or assign false
Expand Down
2 changes: 1 addition & 1 deletion spec/services/iiif_info_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
it 'advertises support for both login and external authentication' do
expect(image_info['service']).to be_present
expect(image_info['service'].length).to eq 2
expect(image_info['service'].map { |x| x['profile'] }).to match_array [
expect(image_info['service'].pluck('profile')).to match_array [
'http://iiif.io/api/auth/1/login',
'http://iiif.io/api/auth/1/external'
]
Expand Down

0 comments on commit 4dda614

Please sign in to comment.