Skip to content

Commit 8d9bc7c

Browse files
committed
Fixes specs
1 parent f0de4cb commit 8d9bc7c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

spec/system/conversations/create_conversation_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
let(:temperature) { 0.5 }
1313
let(:time) { Time.zone.now } # default time for the conversation title
1414
let(:embedding_request_stub) do
15-
stub_voyage_embedding_request(input: ["#{time.strftime('%a, %d %b %Y %H:%M:%S')} This is my prompt test assistant response"])
15+
stub_voyage_embedding_request(
16+
input: ["#{time.strftime('%a, %d %b %Y %H:%M:%S')} This is my prompt test assistant response"]
17+
)
1618
end
1719

1820
before(:context) do

spec/system/sign_in_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
fill_in 'Password', with: password
1111
click_button 'Log in'
1212
expect(page).to have_current_path('/')
13-
expect(page).to have_css('.c-prompt-form')
13+
expect(page).to have_button('Start New Conversation!')
1414
end
1515
end

0 commit comments

Comments
 (0)