Update tests
This commit is contained in:
@@ -7,7 +7,7 @@ class ControllerAuthenticationTest < ActionDispatch::IntegrationTest
|
||||
get cards_path
|
||||
|
||||
assert_response :success
|
||||
assert_dom "p", text: "You don't have any existing Fizzy accounts."
|
||||
assert_dom "p", text: "You don't have any existing Boxcar accounts."
|
||||
end
|
||||
|
||||
test "access with an account slug but no session redirects to new session" do
|
||||
|
||||
@@ -39,6 +39,6 @@ class Conversation::Message::ResponseGeneratorJobTest < ActiveJob::TestCase
|
||||
|
||||
last_message = conversation.messages.ordered.last
|
||||
assert last_message.assistant?
|
||||
assert_match(/Fizzy is very busy/i, last_message.content.to_plain_text)
|
||||
assert_match(/Boxcar is very busy/i, last_message.content.to_plain_text)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user