Sha256: 1b4027b0b2694491cbe00aa99bc5e78a6dd0d3e57476cee9cd5caa8a7e223fb8

Contents?: true

Size: 947 Bytes

Versions: 3

Compression:

Stored size: 947 Bytes

Contents

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

describe "Ticketmaster::Provider::Rally" do
  
  before(:each) do 
    @auth = {:url => 'https://community.rallydev.com/slm', 
             :username => 'ticketmaster-rally@simeonfosterwillbanks.com', 
             :password => 'Password'}
    VCR.use_cassette('ticketmaster_call') { @ticketmaster = TicketMaster.new(:rally, @auth) }
  end

  it "should be able to instantiate a new instance directly" do
    VCR.use_cassette('ticketmaster_call') { @ticketmaster = TicketMaster::Provider::Rally.new(@auth) }
    @ticketmaster.should be_an_instance_of(TicketMaster)
    @ticketmaster.should be_a_kind_of(TicketMaster::Provider::Rally)
  end

  it "should be able to instantiate a new instance from parent" do
    @ticketmaster.should be_an_instance_of(TicketMaster)
    @ticketmaster.should be_a_kind_of(TicketMaster::Provider::Rally)
  end

  it "should be a valid instance"

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ticketmaster-rally-0.2.4 spec/ticketmaster-rally_spec.rb
ticketmaster-rally-0.2.3 spec/ticketmaster-rally_spec.rb
ticketmaster-rally-0.2.2 spec/ticketmaster-rally_spec.rb