Sha256: 5cb6e9e6150d500b6f0322b701c81fcb844e128e733ab4fe93d59897b43fcd80

Contents?: true

Size: 544 Bytes

Versions: 44

Compression:

Stored size: 544 Bytes

Contents

require "test_helper"

class OAuthConfigTest < Test::Unit::TestCase
  include Xeroizer

  must "load oauth configuration from yaml" do
    the_yaml = "
    consumer:
        key: key
        secret: secret
        key_file: key_file
    "

    result = OAuthConfig.load the_yaml

    assert_equal "key",      result.consumer_key,    "Unexpected consumer_key value"
    assert_equal "secret",   result.consumer_secret, "Unexpected consumer_secret value"
    assert_equal "key_file", result.key_file,        "Unexpected key_file value"
  end
end

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
xeroizer-2.20.0 test/unit/oauth_config_test.rb
xeroizer-2.19.0 test/unit/oauth_config_test.rb
xeroizer-2.18.1 test/unit/oauth_config_test.rb
xeroizer-2.17.1 test/unit/oauth_config_test.rb
xeroizer-2.16.5 test/unit/oauth_config_test.rb
xeroizer-2.16.4 test/unit/oauth_config_test.rb
xeroizer-2.16.3 test/unit/oauth_config_test.rb
xeroizer-2.16.1 test/unit/oauth_config_test.rb
xeroizer-2.16.0 test/unit/oauth_config_test.rb
xeroizer-2.15.9 test/unit/oauth_config_test.rb
xeroizer-2.15.8 test/unit/oauth_config_test.rb
xeroizer-2.15.7 test/unit/oauth_config_test.rb
xeroizer-2.15.6 test/unit/oauth_config_test.rb
xeroizer-float-2.15.5.2 test/unit/oauth_config_test.rb
xeroizer-float-2.15.5.1 test/unit/oauth_config_test.rb
xeroizer-2.15.5 test/unit/oauth_config_test.rb
xeroizer-float-2.15.3.16 test/unit/oauth_config_test.rb
xeroizer-float-2.15.3.15 test/unit/oauth_config_test.rb
xeroizer-float-2.15.3.14 test/unit/oauth_config_test.rb
xeroizer-float-2.15.3.13 test/unit/oauth_config_test.rb