Skip to content

Commit

Permalink
Merge pull request #738 from portagenetwork/aaron/disable-ror
Browse files Browse the repository at this point in the history
Deactivate Requests to External ROR API
  • Loading branch information
aaronskiba authored May 6, 2024
2 parents 1edb6a4 + 915e321 commit 29c62ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

### Changed

- Deactivate Requests to External ROR API [#738](https://github.com/portagenetwork/roadmap/pull/738)

- Updated 'translation' gem URL in Gemfile to match moved repository [#725](https://github.com/portagenetwork/roadmap/pull/725)

## [4.0.2+portage-4.0.3] - 2024-04-11
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/external_apis/ror.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
Rails.configuration.x.ror.max_pages = 2
Rails.configuration.x.ror.max_results_per_page = 20
Rails.configuration.x.ror.max_redirects = 3
Rails.configuration.x.ror.active = true
Rails.configuration.x.ror.active = false
1 change: 1 addition & 0 deletions spec/services/external_apis/ror_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
require 'rails_helper'

RSpec.describe ExternalApis::RorService do
Rails.configuration.x.ror.active = true # Override actual config value for duration of tests
describe '#ping' do
before(:each) do
@headers = described_class.headers
Expand Down

0 comments on commit 29c62ae

Please sign in to comment.