Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
annvelents committed Dec 30, 2024
1 parent 64d2ecb commit 16bb00c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions spec/services/fees/one_off_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,5 @@
end
end
end

it_behaves_like "applies invoice_custom_sections" do
let(:service_call) { one_off_service.call }
end
end
end
2 changes: 1 addition & 1 deletion spec/services/invoices/add_on_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
end

it_behaves_like "applies invoice_custom_sections" do
let(:service_call) { invoice_service.call }
let(:service_call) { invoice_service.create }
end

context 'with customer timezone' do
Expand Down
2 changes: 1 addition & 1 deletion spec/services/invoices/create_one_off_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
end

it_behaves_like "applies invoice_custom_sections" do
let(:service_call) { invoice_service.call }
let(:service_call) { create_service.call }
end

it 'calls SegmentTrackJob' do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
end

it_behaves_like "applies invoice_custom_sections" do
let(:service_call) { invoice_service.call }
let(:service_call) { finalize_service.call }
end

it 'enqueues a SendWebhookJob' do
Expand Down

0 comments on commit 16bb00c

Please sign in to comment.