spec/ticketmaster-rally_spec.rb in ticketmaster-rally-0.1.2 vs spec/ticketmaster-rally_spec.rb in ticketmaster-rally-0.2.2
- old
+ new
@@ -4,24 +4,22 @@
before(:each) do
@auth = {:url => 'https://community.rallydev.com/slm',
:username => 'ticketmaster-rally@simeonfosterwillbanks.com',
:password => 'Password'}
- @ticketmaster = TicketMaster.new(:rally, @auth)
+ VCR.use_cassette('ticketmaster_call') { @ticketmaster = TicketMaster.new(:rally, @auth) }
end
it "should be able to instantiate a new instance directly" do
- @ticketmaster = TicketMaster::Provider::Rally.new(@auth)
+ 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" do
- @ticketmaster.valid?.should be_true
- end
+ it "should be a valid instance"
end