spec/comments_spec.rb in ticketmaster-zendesk-0.2.2 vs spec/comments_spec.rb in ticketmaster-zendesk-0.2.3
- old
+ new
@@ -6,9 +6,11 @@
@project_id = 'hybridgroup-project'
@ticket_id = 1
headers = {'Authorization' => 'Basic cmFmYWVsQGh5YnJpZGdyb3VwLmNvbToxMjM0NTY=','Accept' => 'application/json'}
ActiveResource::HttpMock.respond_to do |mock|
mock.get '/tickets/1.json', headers, fixture_for('ticket','json'), 200
+ mock.get '/users/26218414.json', headers, fixture_for('users/55030073', 'json'), 200
+ mock.get '/users/26220353.json', headers, fixture_for('users/55030073', 'json'), 200
end
end
before(:each) do
@ticketmaster = TicketMaster.new(:zendesk, :account => 'hybridgroup', :username => 'rafael@hybridgroup.com', :password => '123456')