Skip to content

Commit

Permalink
Merge pull request #3124 from DFE-Digital/update-git-api-client
Browse files Browse the repository at this point in the history
Update GiT API client
  • Loading branch information
ethax-ross authored Feb 15, 2023
2 parents 04272ae + 90130aa commit e7b8055
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ GIT

GIT
remote: https://github.com/DFE-Digital/get-into-teaching-api-ruby-client.git
revision: faced708d161b73a567d7eea766c6afb5795834c
revision: 7f776f597109304f275db26852051b19070e568d
specs:
get_into_teaching_api_client (2.3.0)
get_into_teaching_api_client (3.0.0)
faraday (~> 1.0, >= 1.0.1)
get_into_teaching_api_client_faraday (2.3.0)
get_into_teaching_api_client_faraday (3.0.0)
activesupport
faraday
faraday-encoding
Expand Down Expand Up @@ -188,7 +188,7 @@ GEM
factory_bot_rails (6.2.0)
factory_bot (~> 6.2.0)
railties (>= 5.0.0)
faraday (1.10.2)
faraday (1.10.3)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
Expand Down
2 changes: 1 addition & 1 deletion spec/models/events/steps/personalised_updates_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@

let(:teaching_subject_types) do
subjects = TeachingSubject::ALL.merge(TeachingSubject::IGNORED)
subjects.map { |k, v| GetIntoTeachingApiClient::LookupItem.new({ id: v, value: k }) }
subjects.map { |k, v| GetIntoTeachingApiClient::TeachingSubject.new({ id: v, value: k }) }
end

before do
Expand Down
4 changes: 2 additions & 2 deletions spec/models/mailing_list/steps/subject_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
end

let(:teaching_subject_types) do
TeachingSubject::ALL.map { |k, v| GetIntoTeachingApiClient::LookupItem.new({ id: v, value: k }) }
TeachingSubject::ALL.map { |k, v| GetIntoTeachingApiClient::TeachingSubject.new({ id: v, value: k }) }
end

it_behaves_like "a with wizard step"
Expand All @@ -30,7 +30,7 @@

let(:teaching_subject_types) do
subjects = TeachingSubject::ALL.merge(TeachingSubject::IGNORED)
subjects.map { |k, v| GetIntoTeachingApiClient::LookupItem.new({ id: v, value: k }) }
subjects.map { |k, v| GetIntoTeachingApiClient::TeachingSubject.new({ id: v, value: k }) }
end

it { is_expected.to eq(TeachingSubject.all_uuids) }
Expand Down

0 comments on commit e7b8055

Please sign in to comment.