Sha256: 426c9bc45d8a21020c3708ddb73aa427f1554c99152e50a6b8c90e1366293ca7
Contents?: true
Size: 942 Bytes
Versions: 1
Compression:
Stored size: 942 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') # This can also act as an example test or test skeleton for your provider. # Just replace the Dummy in @project_class and @ticket_class # Also, remember to mock or stub any API calls describe "Ticketmaster" do before(:each) do @ticketmaster = TicketMaster.new(:dummy, {}) @project_class = TicketMaster::Provider::Dummy::Project @ticket_class = TicketMaster::Provider::Dummy::Ticket @comment_class = TicketMaster::Provider::Dummy::Comment end # Essentially just a sanity check on the include since .new always returns the object's instance it "should be able to instantiate a new instance" do @ticketmaster.should be_an_instance_of TicketMaster @ticketmaster.should be_a_kind_of TicketMaster::Provider::Dummy end it "should be able to load comments" do pending end it "should be able to do comment stuff" do pending end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ticketmaster-0.7.0 | spec/ticketmaster_spec.rb |