Sha256: 9ceb63e6de8520c24b6f1c057ea262e628000dd356db18ff7512acf2fa2c94c7

Contents?: true

Size: 334 Bytes

Versions: 14

Compression:

Stored size: 334 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper'

describe "Warden::Github" do
  let(:user) do
    Warden::Github::Oauth::User.new({'login' => 'atmos'}, 'abcde')
  end

  it "knows the token" do
    user.token.should eql('abcde')
  end
  it "can access the octokit object to make api calls" do
    user.api.should_not be_nil
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
warden-github-0.12.1 spec/user_spec.rb
warden-github-0.12.0 spec/user_spec.rb
warden-github-0.11.0 spec/user_spec.rb
warden-github-0.10.2 spec/user_spec.rb
warden-github-0.10.1 spec/user_spec.rb
warden-github-0.10.0 spec/user_spec.rb
warden-github-0.9.1 spec/user_spec.rb
warden-github-0.9.0 spec/user_spec.rb
warden-github-0.8.2 spec/user_spec.rb
warden-github-0.8.1 spec/user_spec.rb
warden-github-0.8.0 spec/user_spec.rb
warden-github-0.7.0 spec/user_spec.rb
warden-github-0.6.1 spec/user_spec.rb
warden-github-0.6.0 spec/user_spec.rb