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