Skip to content

Commit 2f441a7

Browse files
committed
Updates packages
1 parent 8f0f0b8 commit 2f441a7

File tree

3 files changed

+126
-129
lines changed

3 files changed

+126
-129
lines changed

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ GEM
343343
nio4r (~> 2.0)
344344
raabro (1.4.0)
345345
racc (1.8.1)
346-
rack (2.2.17)
346+
rack (2.2.21)
347347
rack-cors (2.0.2)
348348
rack (>= 2.0.0)
349349
rack-mini-profiler (3.3.1)
@@ -403,7 +403,7 @@ GEM
403403
responders (3.1.1)
404404
actionpack (>= 5.2)
405405
railties (>= 5.2)
406-
rexml (3.4.0)
406+
rexml (3.4.4)
407407
rspec-core (3.12.2)
408408
rspec-support (~> 3.12.0)
409409
rspec-expectations (3.12.3)
@@ -495,7 +495,7 @@ GEM
495495
tzinfo (2.0.6)
496496
concurrent-ruby (~> 1.0)
497497
unicode-display_width (2.5.0)
498-
uri (1.0.3)
498+
uri (1.0.4)
499499
useragent (0.16.11)
500500
version_gem (1.1.3)
501501
view_component (3.21.0)

spec/models/conversation_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@
1212

1313
describe '#exchange' do
1414
let(:turns) { conversation.turns }
15+
let(:expected_result) { turns.flat_map { _1.turnable.to_turn(turns:) } }
1516

1617
before do
1718
create_list(:generate_text_request, 2, :completed, :with_response, conversation:)
1819
end
1920

20-
let(:expected_result) { turns.flat_map { _1.turnable.to_turn(turns:) } }
21-
2221
it 'returns flattened turns from completed generate text requests' do
2322
expect(conversation.exchange).to eq(expected_result)
2423
end

0 commit comments

Comments
 (0)