Sha256: d7ff11ff6533bb3e2039f9f41948d9068e111d8476ac12363f66df74c3f0418a
Contents?: true
Size: 722 Bytes
Versions: 2
Compression:
Stored size: 722 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe "Ticketmaster::Provider::Lighthouse" do before(:each) do @ticketmaster = TicketMaster.new(:lighthouse, {:account => 'ticketmaster', :token => '000000'}) headers = {'X-LighthouseToken' => '000000'} ActiveResource::HttpMock.respond_to do |mock| mock.get '/projects.json', headers, fixture_for('projects'), 200 end end 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::Lighthouse) end it "should return true for a valid authentication" do @ticketmaster.valid?.should be_true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ticketmaster-lighthouse-0.8.0 | spec/ticketmaster-lighthouse_spec.rb |
ticketmaster-lighthouse-0.7.10 | spec/ticketmaster-lighthouse_spec.rb |