tests/models/compute/tickets_tests.rb in fog-vsphere-2.1.1 vs tests/models/compute/tickets_tests.rb in fog-vsphere-2.2.0

- old
+ new

@@ -1,10 +1,8 @@ Shindo.tests('Fog::Compute[:vsphere] | hosts collection', ['vsphere']) do - service = Fog::Compute[:vsphere] server = service.servers.last tests('The tickets collection') do - test('should create a ticket for a server') { service.tickets(:server => server).create.kind_of? Fog::Compute::Vsphere::Ticket } + test('should create a ticket for a server') { service.tickets(server: server).create.is_a? Fog::Compute::Vsphere::Ticket } end - end