Sha256: 004c03a79505c1c4df2da6add9869953ef39516d465c1f91e77ae614bcbdf39c

Contents?: true

Size: 244 Bytes

Versions: 8

Compression:

Stored size: 244 Bytes

Contents

require 'geekdict'

describe GeekDict::Youdao do
  
  describe 'translate good' do
    
    it 'should output translate result as json' do
    	result  = GeekDict::Youdao.translate 'good'
    	expect(result.length).to be > 0  
   	end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
geekdict-0.1.1 spec/youdao/api_spec.rb
geekdict-0.1.0 spec/youdao/api_spec.rb
geekdict-0.0.6 spec/youdao/api_spec.rb
geekdict-0.0.5 spec/youdao/api_spec.rb
geekdict-0.0.4 spec/youdao/api_spec.rb
geekdict-0.0.3 spec/youdao/api_spec.rb
geekdict-0.0.2 spec/youdao/api_spec.rb
geekdict-0.0.1 spec/youdao/api_spec.rb