Sha256: 3f0101d0e49e80a18772111347eb4387ceb27bde9bd59ace228801a2b667fb39

Contents?: true

Size: 417 Bytes

Versions: 1

Compression:

Stored size: 417 Bytes

Contents

require 'spec_helper'

describe 'flickr.auth.getToken' do
	subject { flickr.auth.getToken :frob => 'abc' }
	its(:token) { should == '72197626744597143-36de57c6a59d1a8d' }
	its(:perms) { should == 'write' }
	context :user do
		subject { flickr.auth.getToken(:frob => 'abc').user }
		its(:nsid) { should == '13314999@N06' }
		its(:username) { should == 'johnsmith' }
		its(:fullname) { should == 'John Smith' }
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flickr_fakr-0.1.3 spec/acceptance/auth_getToken_spec.rb