spec/fog/models/server_spec.rb in fog-cloudatcost-0.2.3 vs spec/fog/models/server_spec.rb in fog-cloudatcost-0.4.0

- old
+ new

@@ -1,15 +1,16 @@ +# frozen_string_literal: true + require 'spec_helper' -require 'fog/cloudatcost/models/server' -describe Fog::Compute::CloudAtCost::Server do +RSpec.describe Fog::Compute::CloudAtCost::Server do let(:server) { Fog::Compute::CloudAtCost::Server.new } - server_attributes = %w(sid id CustID packageid label servername + server_attributes = %w[sid id CustID packageid label servername vmname ip netmask gateway hostname rootpass vncport vncpass servertype template cpu cpuusage ram ramusage storage hdusage sdate status panel_note - mode uid rdns rdnsdefault template_id) + mode uid rdns rdnsdefault template_id] it 'tests attributes' do server_attributes.each do |attribute| expect(server).to respond_to(attribute) end