Sha256: 30558ae7c6018bff5a700fce1d610f69b40b73e5cf9e94c490808932bbe154a7

Contents?: true

Size: 363 Bytes

Versions: 5

Compression:

Stored size: 363 Bytes

Contents

#encoding: utf-8
require "spec_helper"

describe YoudaoFanyi::Configuration do

  let(:default_configuration) { [{ "keyfrom" => "test.vkill.net", "key" => "1234567890" }] }

  it "default configuration should defined" do
    YoudaoFanyi::Configuration.api_keys.should == default_configuration

    YoudaoFanyi::Configuration.http_proxy.should == nil
  end


end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
youdao_fanyi-0.1.2.2 spec/youdao_fanyi/configuration_spec.rb
youdao_fanyi-0.1.2.1 spec/youdao_fanyi/configuration_spec.rb
youdao_fanyi-0.1.2 spec/youdao_fanyi/configuration_spec.rb
youdao_fanyi-0.1.1 spec/youdao_fanyi/configuration_spec.rb
youdao_fanyi-0.1.0 spec/youdao_fanyi/configuration_spec.rb