Skip to content

Commit

Permalink
Fix references to requests test helper
Browse files Browse the repository at this point in the history
  • Loading branch information
sdjmchattie committed Oct 23, 2024
1 parent 755e024 commit 6f64972
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/requests/api/v2/bulk_transfers_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require 'rails_helper'
require './spec/requests/api/v2/shared_examples/api_key_authenticatable'
require './spec/requests/api/v2/shared_examples/post_requests'
require './spec/requests/api/v2/shared_examples/requests'

describe 'Bulk Transfer API', with: :api_v2 do
let(:model_class) { BulkTransfer }
Expand Down Expand Up @@ -77,13 +77,13 @@
context 'with transfers' do
let(:related_name) { 'transfers' }

it_behaves_like 'a POST request including a has_many relationship'
it_behaves_like 'a GET request including a has_many relationship'
end

context 'with user' do
let(:related_name) { 'user' }

it_behaves_like 'a POST request including a has_one relationship'
it_behaves_like 'a GET request including a has_one relationship'
end
end
end
Expand Down

0 comments on commit 6f64972

Please sign in to comment.