Sha256: 8e02e5c527ff610019783cc54f077858d44322f89363840930be8dfeaf06805a

Contents?: true

Size: 559 Bytes

Versions: 1

Compression:

Stored size: 559 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe "Xip::Nlp::Client" do

  describe 'blank client' do
    let(:nlp_client) { Xip::Nlp::Client.new }

    it 'should return nil for client' do
      expect(nlp_client.client).to be_nil
    end

    it 'should return nil for the understand call' do
      expect(nlp_client.understand(query: 'hello world!')).to be_nil
    end

    it 'should return nil for the understand_speec call' do
      expect(nlp_client.understand_speech(audio_file: 'https://path.to/audio.mp3')).to be_nil
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xip-2.0.0.beta2 spec/nlp/client_spec.rb