Sha256: 8b45a42281e339a07262d3900cea2558eb5e1a1d96f9ab0e6ff2bc697bba7d63

Contents?: true

Size: 518 Bytes

Versions: 1

Compression:

Stored size: 518 Bytes

Contents

# -*- coding: utf-8 -*-

require 'dict/dict'

describe Dict do

  it "should get single translation from dictionary with two arguments given" do
    expect{
      Dict.get_single_dictionary_translations('samochód', 'dictpl')
    }.to_not raise_error
  end

  it "should return hash with translations from all dictionaries" do
    Dict.get_all_dictionaries_translations('samochód').should be_a(Hash)
  end

  it "should return array of available services" do
    Dict.available_services.should be_a(Array)
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dict-0.2.1 spec/dict/lib_dict_spec.rb