test/models/compute/test_server.rb in fog-azure-rm-0.0.8 vs test/models/compute/test_server.rb in fog-azure-rm-0.0.9

- old
+ new

@@ -21,11 +21,11 @@ :list_available_sizes, :attach_data_disk, :detach_data_disk ] methods.each do |method| - assert @server.respond_to? method, true + assert_respond_to @server, method end end def test_model_attributes attributes = [ @@ -52,10 +52,10 @@ :enable_automatic_updates, :network_interface_card_id, :availability_set_id ] attributes.each do |attribute| - assert @server.respond_to? attribute, true + assert_respond_to @server, attribute end end def test_save_method_response_for_linux_vm response = ApiStub::Models::Compute::Server.create_linux_virtual_machine_response(@compute_client)