Sha256: c61f98fe0e4b306e481f96b4c3c21f92ee5da80b4f253c2632dfe6536733c0ac
Contents?: true
Size: 910 Bytes
Versions: 27
Compression:
Stored size: 910 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" it "should be able to do comment stuff" end
Version data entries
27 entries across 27 versions & 1 rubygems