Sha256: 8e12ab318e35cb3119d68208ff822e2ace82d8382fd4e58c2fbe813ab90841bd
Contents?: true
Size: 493 Bytes
Versions: 3
Compression:
Stored size: 493 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') require File.dirname(__FILE__) + '/../lib/gdata_jruby_client' require File.dirname(__FILE__) + '/google_keys.rb' include GoogleHelpers describe GData::GoogleService do it "should able to raise the right exception" do e = GData.gdata_exception_for(Exception.new("com.google.gdata.util.AuthenticationException: Token invalid - Invalid AuthSub token.")) e.should be_instance_of(GData::AuthenticationError) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gdata-jruby-client-0.7.5 | spec/google_service_spec.rb |
gdata-jruby-client-0.7.4 | spec/google_service_spec.rb |
gdata-jruby-client-0.7.3 | spec/google_service_spec.rb |