Sha256: eca43845b954dff71529b168bd1f71a5d1cc8d6958eed04eca7499f83d3f5b46

Contents?: true

Size: 650 Bytes

Versions: 6

Compression:

Stored size: 650 Bytes

Contents

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

describe "Ticketmaster::Provider::Github" do

  it "should be able to instantiate a new instance" do
    @github = TicketMaster.new(:github, {:login => 'juanespinosa', :token => 'asdfghk'})
    @github.should be_an_instance_of(TicketMaster)
    @github.should be_a_kind_of(TicketMaster::Provider::Github)
  end

  it "should show attempted authenticated if a token is present" do
    pending
    @github = TicketMaster.new(:github, {:login => 'juanespinosa', :token => 'asdfghk'})
    @github.authorize
    TicketMaster::Provider::Github.api.authenticated?.should be_true
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ticketmaster-github-0.5.3 spec/ticketmaster-github_spec.rb
ticketmaster-github-0.5.2 spec/ticketmaster-github_spec.rb
ticketmaster-github-0.5.1 spec/ticketmaster-github_spec.rb
ticketmaster-github-0.5.0 spec/ticketmaster-github_spec.rb
ticketmaster-github-0.4.9 spec/ticketmaster-github_spec.rb
ticketmaster-github-0.4.8 spec/ticketmaster-github_spec.rb