Sha256: b728d6619d358008aa65d41be4d47244097b474caa6ba77fd9f74eb6cfca5869

Contents?: true

Size: 567 Bytes

Versions: 7

Compression:

Stored size: 567 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe "Stealth::Nlp::Client" do

  describe 'blank client' do
    let(:nlp_client) { Stealth::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

7 entries across 7 versions & 1 rubygems

Version Path
stealth-2.0.0.beta7 spec/nlp/client_spec.rb
stealth-2.0.0.beta6 spec/nlp/client_spec.rb
stealth-2.0.0.beta5 spec/nlp/client_spec.rb
stealth-2.0.0.beta4 spec/nlp/client_spec.rb
stealth-2.0.0.beta3 spec/nlp/client_spec.rb
stealth-2.0.0.beta2 spec/nlp/client_spec.rb
stealth-2.0.0.beta1 spec/nlp/client_spec.rb