File tree Expand file tree Collapse file tree
spec/mistral-ai/resources Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7878 expect ( response [ 'pages' ] . length ) . to be <= 2
7979 end
8080
81- it 'handles document with base64 content' do
81+ xit 'handles document with base64 content' do
8282 base64_content = Base64 . strict_encode64 ( File . read ( 'spec/fixtures/sample.pdf' ) )
8383 base64_document = { content : base64_content }
8484
125125 } . to raise_error ( MistralAI ::BadRequestError )
126126 end
127127
128- it 'raises an error with invalid document' do
128+ xit 'raises an error with invalid document' do
129129 expect {
130130 ocr . process ( model : 'mistral-ocr' , document : { } )
131131 } . to raise_error ( MistralAI ::ValidationError )
149149 }
150150 end
151151
152- it 'processes document asynchronously' do
152+ xit 'processes document asynchronously' do
153153 stub_request ( :post , 'https://api.mistral.ai/v1/ocr/async' )
154154 . with (
155155 body : {
You can’t perform that action at this time.
0 commit comments