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

Version Path
ticketmaster-0.6.10 spec/ticketmaster_spec.rb
ticketmaster-0.6.9 spec/ticketmaster_spec.rb
ticketmaster-0.6.8 spec/ticketmaster_spec.rb
ticketmaster-0.6.7 spec/ticketmaster_spec.rb
ticketmaster-0.6.6 spec/ticketmaster_spec.rb
ticketmaster-0.5.6 spec/ticketmaster_spec.rb
ticketmaster-0.5.5 spec/ticketmaster_spec.rb
ticketmaster-0.5.3 spec/ticketmaster_spec.rb
ticketmaster-0.5.2 spec/ticketmaster_spec.rb
ticketmaster-0.5.1 spec/ticketmaster_spec.rb
ticketmaster-0.5.0 spec/ticketmaster_spec.rb
ticketmaster-0.4.9 spec/ticketmaster_spec.rb
ticketmaster-0.4.8 spec/ticketmaster_spec.rb
ticketmaster-0.4.7 spec/ticketmaster_spec.rb
ticketmaster-0.4.6 spec/ticketmaster_spec.rb
ticketmaster-0.4.5 spec/ticketmaster_spec.rb
ticketmaster-0.4.3 spec/ticketmaster_spec.rb
ticketmaster-0.4.2 spec/ticketmaster_spec.rb
ticketmaster-0.4.1 spec/ticketmaster_spec.rb
ticketmaster-0.4.0 spec/ticketmaster_spec.rb